Skip to content

Commit 0cd9d72

Browse files
javiereguiluzweaverryan
authored andcommitted
Remove the demo page for new controllers
1 parent 039bb24 commit 0cd9d72

File tree

2 files changed

+1
-50
lines changed

2 files changed

+1
-50
lines changed

src/Resources/skeleton/controller/ControllerWithTwig.tpl.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class <?= $controller_class_name ?> extends Controller
1313
*/
1414
public function index()
1515
{
16-
// replace this line with your own code!
17-
return $this->render('@Maker/demoPage.html.twig', [ 'path' => str_replace($this->getParameter('kernel.project_dir').'/', '', __FILE__) ]);
16+
return $this->render('your_own_template.html.twig');
1817
}
1918
}

src/Resources/views/demoPage.html.twig

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)