From 2ab3d52540fe6a2fe60a351f9ad4e334f86bbb16 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 20 Aug 2014 12:48:58 -0500 Subject: [PATCH] Add note. --- app/Providers/RouteServiceProvider.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index dde5ff82..b7a9c5bb 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -25,6 +25,10 @@ public function map() { $this->app->booted(function() { + // Once the application has booted, we will include the default routes + // file. This "namespace" helper will load the routes file within a + // route group which automatically sets the controller namespace. + $this->namespaced(function() { require app('path').'/Http/routes.php';