Completed
Push — master ( 8bb95a...6a3c94 )
by Prateek
03:59 queued 02:05
created
src/Generators/View.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,13 +11,13 @@
 block discarded – undo
11 11
         $viewsToBeGenerated = ['index', '_list', '_show', '_empty'];
12 12
         
13 13
         foreach ($viewsToBeGenerated as $view) {
14
-            $viewTemplate = $this->buildTemplate('Views/' . $view, [
14
+            $viewTemplate = $this->buildTemplate('Views/'.$view, [
15 15
                 '{{modelNameSingularLowercase}}' => $this->module->getModelNameSingularLowercase(),
16 16
                 '{{modelNamePlural}}'            => $this->module->getModelNamePlural(),
17 17
                 '{{moduleName}}'                 => $this->module->getModuleName()
18 18
             ]);
19 19
 
20
-            file_put_contents($this->getPath("resources/views/" . $this->module->getModuleName()). "/{$view}.blade.php", $viewTemplate);            
20
+            file_put_contents($this->getPath("resources/views/".$this->module->getModuleName())."/{$view}.blade.php", $viewTemplate);            
21 21
         }
22 22
     }
23 23
 }
Please login to merge, or discard this patch.