Skip to content

Commit

Permalink
[3-8] 公演情報ページのコントローラ
Browse files Browse the repository at this point in the history
  • Loading branch information
hidenorigoto committed Oct 24, 2015
1 parent 357db07 commit 789a11d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
17 changes: 17 additions & 0 deletions docs/lists/ch03/03-08.txt
@@ -0,0 +1,17 @@
<?php

namespace AppBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;

class ConcertController extends Controller
{
/**
* @Route("/concert/")
*/
public function indexAction()
{
return $this->render('Concert/index.html.twig');
}
}
8 changes: 7 additions & 1 deletion src/AppBundle/Controller/ConcertController.php
Expand Up @@ -4,8 +4,14 @@

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;

class ConcertController extends Controller
{
/**
* @Route("/concert/")
*/
public function indexAction()
{
return $this->render('Concert/index.html.twig');
}
}

0 comments on commit 789a11d

Please sign in to comment.