@@ -179,7 +179,9 @@ |
||
| 179 | 179 | private function searchForApplyViewRules($key, $value) |
| 180 | 180 | { |
| 181 | 181 | if($key == $this->action) { |
| 182 | - if(!$this->checkForHandler($this->controller, $value)) return; |
|
| 182 | + if(!$this->checkForHandler($this->controller, $value)) { |
|
| 183 | + return; |
|
| 184 | + } |
|
| 183 | 185 | |
| 184 | 186 | if(!$this->controller->$value()){ |
| 185 | 187 | $this->redirectIfIsSet(); |