Fix call to Loader::everything.
This commit is contained in:
parent
ae69149262
commit
bc7df55f92
|
@ -71,7 +71,7 @@ public static function to_asset($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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue