@@ -34,15 +34,15 @@ |
||
34 | 34 | if ($this->module instanceof Module) { |
35 | 35 | |
36 | 36 | if ($this->module->useAppViewPath) { |
37 | - return '@app/views/' . $this->module->id . '/' . $this->id; |
|
37 | + return '@app/views/'.$this->module->id.'/'.$this->id; |
|
38 | 38 | } elseif (is_array($this->module->viewMap)) { |
39 | 39 | |
40 | - $currentAction = $this->id . '/' . ($this->action->id ?: $this->defaultAction); |
|
40 | + $currentAction = $this->id.'/'.($this->action->id ?: $this->defaultAction); |
|
41 | 41 | foreach ($this->module->viewMap as $action => $viewPath) { |
42 | 42 | |
43 | 43 | // Special case for map all views of controller |
44 | 44 | if ($action === '*') { |
45 | - return $viewPath . '/' . $this->id; |
|
45 | + return $viewPath.'/'.$this->id; |
|
46 | 46 | } elseif (fnmatch($action, $currentAction)) { |
47 | 47 | return $viewPath; |
48 | 48 | } |