Skip to content

Instantly share code, notes, and snippets.

@smottt
Created October 22, 2011 17:00
Show Gist options
  • Save smottt/1306215 to your computer and use it in GitHub Desktop.
Save smottt/1306215 to your computer and use it in GitHub Desktop.
Symfony2 return sfView::NONE
<?php
namespace Acme\AcmeBundle\Controller;
use Symfony\Component\HttpFoundation\Response;
class SomeController
{
public function testAction()
{
return new Response("This is some text.");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment