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\\', + );