FEATURE #2048: prepare routes for ACL, add some more permissions

This commit is contained in:
Michal Kváček
2017-08-11 02:07:31 +02:00
parent cccdbda543
commit 335ec4a167
41 changed files with 836 additions and 489 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ Route::group([
// list of all actions
Route::get('actions', 'ActionLog\Overview@index')
->name('log.overview');
->name('log.overview')
->middleware('can:manage,' . \App\Models\ActionLog\ActionLog::class);
// search form with results
Route::get('search', 'Search@getSearch')