cleaning up code.
This commit is contained in:
parent
a675b05237
commit
da016744d0
|
@ -118,7 +118,7 @@ public static function to_route($name, $parameters = array(), $https = false)
|
||||||
return static::to(str_replace(array('/(:any?)', '/(:num?)'), '', $uri), $https);
|
return static::to(str_replace(array('/(:any?)', '/(:num?)'), '', $uri), $https);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new \OutOfBoundsException("Error generating named route for route [$name]. Route is not defined.");
|
throw new \OutOfBoundsException("Error getting URL for route [$name]. Route is not defined.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue