@@ -88,7 +88,7 @@ |
||
| 88 | 88 | |
| 89 | 89 | // generate the rules from apiRules defintions as they are own entries: |
| 90 | 90 | foreach ($rules as $api => $rule) { |
| 91 | - $rule['controller'] = 'admin/' . $api; |
|
| 91 | + $rule['controller'] = 'admin/'.$api; |
|
| 92 | 92 | $result[] = $rule; |
| 93 | 93 | } |
| 94 | 94 | |
@@ -33,14 +33,14 @@ |
||
| 33 | 33 | { |
| 34 | 34 | if ($this->module instanceof Module) { |
| 35 | 35 | if ($this->module->useAppViewPath) { |
| 36 | - return '@app/views/' . $this->module->id . '/' . $this->id; |
|
| 36 | + return '@app/views/'.$this->module->id.'/'.$this->id; |
|
| 37 | 37 | } elseif (is_array($this->module->viewMap)) { |
| 38 | - $currentAction = $this->id . '/' . ($this->action ? $this->action->id : $this->defaultAction); |
|
| 38 | + $currentAction = $this->id.'/'.($this->action ? $this->action->id : $this->defaultAction); |
|
| 39 | 39 | foreach ($this->module->viewMap as $action => $viewPath) { |
| 40 | 40 | |
| 41 | 41 | // Special case for map all views of controller |
| 42 | 42 | if ($action === '*') { |
| 43 | - return $viewPath . '/' . $this->id; |
|
| 43 | + return $viewPath.'/'.$this->id; |
|
| 44 | 44 | } elseif (fnmatch($action, $currentAction)) { |
| 45 | 45 | return $viewPath; |
| 46 | 46 | } |