Commit d693a826 by Taylor Otwell

Merge pull request #1408 from cartalyst/develop

Allowing use of third party Routers to handle Routing.
parents 4c53b9d9 79ff05bc
<?php namespace Laravel;
use Router;
/*
|--------------------------------------------------------------------------
| Bootstrap The Framework Core
......@@ -102,7 +104,7 @@ foreach (Bundle::$bundles as $bundle => $config)
|
*/
Routing\Router::register('*', '(:all)', function()
Router::register('*', '(:all)', function()
{
return Event::first('404');
});
......@@ -160,7 +162,7 @@ URI::$uri = $uri;
|
*/
Request::$route = Routing\Router::route(Request::method(), $uri);
Request::$route = Router::route(Request::method(), $uri);
$response = Request::$route->call();
......
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