Update codebase to L5.4 (#367)

This commit is contained in:
Dane Everitt 2017-04-01 17:59:43 -04:00 committed by GitHub
parent 0a95d97d7f
commit 9c303456fb
25 changed files with 593 additions and 583 deletions

View file

@ -33,7 +33,7 @@ class RouteServiceProvider extends ServiceProvider
*/
public function map()
{
Route::group(['namespace' => $this->namespace], function ($router) {
Route::group(['namespace' => $this->namespace, 'middleware' => 'web'], function ($router) {
foreach (glob(app_path('Http//Routes') . '/*.php') as $file) {
$this->app->make('Pterodactyl\\Http\\Routes\\' . basename($file, '.php'))->map($router);
}