fixed AdvertisementsController filters
This commit is contained in:
parent
92494e80d5
commit
ffe6a41300
@ -4,7 +4,9 @@ class AdvertisementsController extends ApplicationController
|
||||
protected function filters()
|
||||
{
|
||||
return [
|
||||
'admin_only' => ['except' => ['redirect']]
|
||||
'before' => [
|
||||
'admin_only' => ['except' => ['redirect']]
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user