Update http related classes after upgrade to Laravel 5.2

This commit is contained in:
James Cole
2016-01-08 16:01:21 +01:00
parent ba32a665f1
commit 35deed1d10
5 changed files with 179 additions and 146 deletions

View File

@@ -260,21 +260,18 @@ Route::bind(
);
/**
* Auth\AuthController
*/
Route::get('/register', ['uses' => 'Auth\AuthController@getRegister', 'as' => 'register']);
// auth routes, i think
Route::group(
['middleware' => 'web'], function () {
Route::auth();
Route::controllers(
[
'auth' => 'Auth\AuthController',
'password' => 'Auth\PasswordController',
]
Route::get('/home', 'HomeController@index');
}
);
Route::group(
['middleware' => ['auth', 'range']], function () {
['middleware' => ['auth', 'range', 'web']], function () {
/**
* Home Controller