Created
October 22, 2011 17:00
-
-
Save smottt/1306215 to your computer and use it in GitHub Desktop.
Symfony2 return sfView::NONE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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