diff --git a/system/url.php b/system/url.php index df1b47fd..20a3c874 100644 --- a/system/url.php +++ b/system/url.php @@ -71,7 +71,7 @@ class URL { */ 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));