Login and some routes fixed.

This commit is contained in:
James Cole
2015-02-07 22:50:47 +01:00
parent 6b54ef8398
commit 1499b2cd40
7 changed files with 142 additions and 147 deletions

View File

@@ -136,13 +136,19 @@ Route::group(
//Route::any('/transactions/unrelate/{tj}', ['uses' => 'TransactionController@unrelate', 'as' => 'transactions.unrelate']);
/**
* User Controller
* TODO move to AuthController
* Auth\Auth Controller
*/
Route::get('/logout', ['uses' => 'UserController@logout', 'as' => 'logout']);
Route::get('/logout', ['uses' => 'Auth\AuthController@getLogout', 'as' => 'logout']);
}
);
/**
* Auth\AuthController
*/
Route::get('/register', ['uses' => 'Auth\AuthController@getRegister', 'as' => 'register']);
Route::controllers(
[
'auth' => 'Auth\AuthController',