Changing default routing setup.

This commit is contained in:
Taylor Otwell
2014-11-02 10:02:20 -06:00
parent aa8bf8a211
commit 0ee0c434a3
6 changed files with 65 additions and 47 deletions

View File

@@ -49,7 +49,10 @@ class RouteServiceProvider extends ServiceProvider {
*/
public function map(Router $router)
{
// require app_path('Http/routes.php');
$router->group(['namespace' => 'App\Http\Controllers'], function($router)
{
require app_path('Http/routes.php');
});
}
}