Skip to content

Commit

Permalink
[3-5] indexAction()メソッドに@routeアノテーションでルートを指定
Browse files Browse the repository at this point in the history
  • Loading branch information
hidenorigoto committed Oct 24, 2015
1 parent 3048fba commit 0897ad3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/lists/ch03/03-05.txt
@@ -0,0 +1,4 @@
/**
* @Route("/")
*/
public function indexAction()
3 changes: 3 additions & 0 deletions src/AppBundle/Controller/ToppageController.php
Expand Up @@ -7,6 +7,9 @@

class ToppageController extends Controller
{
/**
* @Route("/")
*/
public function indexAction()
{
}
Expand Down

0 comments on commit 0897ad3

Please sign in to comment.