Fixing a few things. Namespace configuration.

This commit is contained in:
Taylor Otwell 2014-08-21 21:25:03 -05:00
parent a68933d34c
commit c9fb1c9110
2 changed files with 13 additions and 5 deletions

View File

@ -65,7 +65,7 @@ return array(
| |
*/ */
'commands' => __DIR__.'/../app/Console', 'console' => __DIR__.'/../app/Console',
'config' => __DIR__.'/../config', 'config' => __DIR__.'/../config',
'controllers' => __DIR__.'/../app/Http/Controllers', 'controllers' => __DIR__.'/../app/Http/Controllers',
'database' => __DIR__.'/../database', 'database' => __DIR__.'/../database',

View File

@ -17,15 +17,23 @@ return array(
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Root Controller Namespace | Generator Namespaces
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| This namespace will be automatically prepended to URLs generated via | These namespaces are utilized by the various class generator Artisan
| the URL generator for controller actions, allowing for the simple | commands. You are free to change them to whatever you wish or not
| and convenient referencing of your namespaced controller class. | at all. The "app:name" command is the easiest way to set these.
| |
*/ */
'console' => 'App\Console\\',
'controllers' => 'App\\Http\\Controllers\\', 'controllers' => 'App\\Http\\Controllers\\',
'filters' => 'App\Http\Filters\\',
'providers' => 'App\Providers\\',
'requests' => 'App\Http\Requests\\',
); );