Refactored controllers

This commit is contained in:
Graham Campbell
2015-01-01 15:45:04 +00:00
parent 1e85398a4b
commit 1bc73873ce
14 changed files with 118 additions and 63 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
Route::group(['before' => 'has_setting:app_name'], function () {
Route::group(['before' => 'has_setting:app_name', 'namespace' => 'CachetHQ\Cachet\Controllers'], function () {
Route::get('/auth/login', ['before' => 'guest', 'as' => 'login', 'uses' => 'AuthController@showLogin']);
Route::post('/auth/login', ['before' => 'guest|csrf|login_throttling', 'as' => 'logout', 'uses' => 'AuthController@postLogin']);
});