title: Symfony2 route is not working
body: <p>I created a new symfony project, but the routing is not working at all. 
  This is my <code>routing.yml</code> file:</p>
  
  <pre><code>app:
  resource: "@AppBundle/Controller/"
  type:     annotation
  </code></pre>
  
  <p>And this is part of my controller:</p>
  
  <pre><code>    class DefaultController extends Controller
  {
      /**
       * @Route("/", name="homepage")
       */
      public function indexAction(Request $request)
      {
          // replace this example code with whatever you need
          return $this-&gt;render('default/index.html.twig', array(
              'base_dir' =&gt; realpath($this-&gt;container-&gt;getParameter('kernel.root_dir').'/..'),
          ));
      }
  </code></pre>
  
  <p>After this I've created some test functions with the associated route, but it doesn't work. Am I missing something?</p>