Commit bc7df55f authored by Taylor Otwell's avatar Taylor Otwell

Fix call to Loader::everything.

parent ae691492
...@@ -71,7 +71,7 @@ class URL { ...@@ -71,7 +71,7 @@ class URL {
*/ */
public static function to_route($name, $parameters = array(), $https = false) public static function to_route($name, $parameters = array(), $https = false)
{ {
if ( ! is_null($route = Routing\Finder::find($name, Routing\Loader::everything()))) if ( ! is_null($route = Routing\Finder::find($name, Routing\Loader::all())))
{ {
$uris = explode(', ', key($route)); $uris = explode(', ', key($route));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment