fixed AdvertisementsController filters

This commit is contained in:
Parziphal 2013-11-29 18:13:31 -05:00
parent 92494e80d5
commit ffe6a41300

View File

@ -4,7 +4,9 @@ class AdvertisementsController extends ApplicationController
protected function filters() protected function filters()
{ {
return [ return [
'admin_only' => ['except' => ['redirect']] 'before' => [
'admin_only' => ['except' => ['redirect']]
]
]; ];
} }