Skip to content

Commit

Permalink
[generate:module] use dashes not underscores in TWIG template file na…
Browse files Browse the repository at this point in the history
…me. (#3242)
  • Loading branch information
jmolivas authored Mar 28, 2017
1 parent 72da103 commit d582884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator/ModuleGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function generate(
}
$this->renderFile(
'module/twig-template-file.twig',
$dir . $machineName . '.html.twig',
$dir . str_replace("_","-", $machineName) . '.html.twig',
$parameters
);
}
Expand Down

0 comments on commit d582884

Please sign in to comment.