init
This commit is contained in:
commit
741e1c403a
102 changed files with 70058 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace Hackspace\Bundle\CalciferBundle\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
|
||||
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
|
||||
|
||||
class DefaultController extends Controller
|
||||
{
|
||||
/**
|
||||
* @Route("/hello/{name}")
|
||||
* @Template()
|
||||
*/
|
||||
public function indexAction($name)
|
||||
{
|
||||
return array('name' => $name);
|
||||
}
|
||||
}
|
Reference in a new issue