Completed
Pull Request — master (#1843)
by
unknown
02:29
created
core/web/Controller.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,15 +34,15 @@
 block discarded – undo
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 ? $this->action->id : $this->defaultAction);
40
+                $currentAction = $this->id.'/'.($this->action ? $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
                     }
Please login to merge, or discard this patch.