Commit 2f051e9d by Carsten Brandt

Use class constants for Event declatration in ActionFiler

parent 5e8154ed
...@@ -30,8 +30,8 @@ class ActionFilter extends Behavior ...@@ -30,8 +30,8 @@ class ActionFilter extends Behavior
public function events() public function events()
{ {
return array( return array(
'beforeAction' => 'beforeFilter', Controller::EVENT_BEFORE_ACTION => 'beforeFilter',
'afterAction' => 'afterFilter', Controller::EVENT_AFTER_ACTION => 'afterFilter',
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment