Skip to content

Commit

Permalink
[3-7] テンプレートをレンダリングするように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
hidenorigoto committed Oct 24, 2015
1 parent 6c19a60 commit 034b5b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/lists/ch03/03-07.txt
@@ -0,0 +1,7 @@
/**
* @Route("/")
*/
public function indexAction()
{
return $this->render('Toppage/index.html.twig');
}
1 change: 1 addition & 0 deletions src/AppBundle/Controller/ToppageController.php
Expand Up @@ -12,5 +12,6 @@ class ToppageController extends Controller
*/
public function indexAction()
{
return $this->render('Toppage/index.html.twig');
}
}

0 comments on commit 034b5b7

Please sign in to comment.