title: The controller must return a response
body: <p>I am new with Symfony 2.. I try something really basic.. I have just created a bundle with the command line et put this in my controller :</p>
  
  <pre><code>use Symfony\Bundle\FrameworkBundle\Controller\Controller;
  use Symfony\Component\BrowserKit\Response;
  
  class DefaultController extends Controller
  {
      public function indexAction($name)
      {
          return new Response('&lt;html&gt;&lt;body&gt;Hello '.$name.'!&lt;/body&gt;&lt;/html&gt;');
      }
  }
  </code></pre>
  
  <p>and I have a logicException with "the controler must return a response"</p>
  
  <p>this is not what I am doing here ?</p>
  
  <p>Thank u</p>
  
  <p>PS : I add the routing.yml in app</p>
  
  <pre><code>acme_hello:
     resource: "@AcmeHelloBundle/Resources/config/routing.yml"
     prefix:   /
  </code></pre>
  
  <p>routing.yml in Resources</p>
  
  <pre><code>acme_hello_homepage:
     pattern:  /hello/{name}
     defaults: { _controller: AcmeHelloBundle:Default:index }
  </code></pre>