From c9fb1c911061535733c3f11904a7759d8cb81eb5 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 21 Aug 2014 21:25:03 -0500 Subject: [PATCH] Fixing a few things. Namespace configuration. --- bootstrap/paths.php | 2 +- config/namespaces.php | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/bootstrap/paths.php b/bootstrap/paths.php index d004a962..966989bc 100644 --- a/bootstrap/paths.php +++ b/bootstrap/paths.php @@ -65,7 +65,7 @@ return array( | */ - 'commands' => __DIR__.'/../app/Console', + 'console' => __DIR__.'/../app/Console', 'config' => __DIR__.'/../config', 'controllers' => __DIR__.'/../app/Http/Controllers', 'database' => __DIR__.'/../database', diff --git a/config/namespaces.php b/config/namespaces.php index 9ccfafb6..1e77e716 100644 --- a/config/namespaces.php +++ b/config/namespaces.php @@ -17,15 +17,23 @@ return array( /* |-------------------------------------------------------------------------- - | Root Controller Namespace + | Generator Namespaces |-------------------------------------------------------------------------- | - | This namespace will be automatically prepended to URLs generated via - | the URL generator for controller actions, allowing for the simple - | and convenient referencing of your namespaced controller class. + | These namespaces are utilized by the various class generator Artisan + | commands. You are free to change them to whatever you wish or not + | at all. The "app:name" command is the easiest way to set these. | */ + 'console' => 'App\Console\\', + 'controllers' => 'App\\Http\\Controllers\\', + 'filters' => 'App\Http\Filters\\', + + 'providers' => 'App\Providers\\', + + 'requests' => 'App\Http\Requests\\', + );