@@ -71,7 +71,7 @@ public function exists(): bool
7171 public function copy (): bool
7272 {
7373 if (!$ this ->file ->copyTemplate (
74- $ this ->file ->join ($ this -> dir -> template (), 'Block ' , 'Section ' , 'Action.php.template ' ),
74+ $ this ->file ->join ('Block ' , 'Section ' , 'Action.php.template ' ),
7575 $ this ->blockPath ,
7676 [
7777 '{{ vendor }} ' => $ this ->module ->vendor (),
@@ -85,7 +85,7 @@ public function copy(): bool
8585 }
8686
8787 if (!$ this ->file ->copyTemplate (
88- $ this ->file ->join ($ this -> dir -> template (), 'view ' , 'frontend ' , 'layout ' , 'vendor_module_section_action.xml.template ' ),
88+ $ this ->file ->join ('view ' , 'frontend ' , 'layout ' , 'vendor_module_section_action.xml.template ' ),
8989 $ this ->layoutPath ,
9090 [
9191 '{{ module_name }} ' => $ this ->module ->moduleName (),
@@ -102,7 +102,7 @@ public function copy(): bool
102102 }
103103
104104 if (!$ this ->file ->copyTemplate (
105- $ this ->file ->join ($ this -> dir -> template (), 'view ' , 'frontend ' , 'templates ' , 'section ' , 'action.phtml.template ' ),
105+ $ this ->file ->join ('view ' , 'frontend ' , 'templates ' , 'section ' , 'action.phtml.template ' ),
106106 $ this ->templatePath ,
107107 [
108108 '{{ vendor }} ' => $ this ->module ->vendor (),
0 commit comments