When I visit http://localhost/web/app_dev.php
I get a very nice web debug toolbar but It doesn't appear in the views rendered by "custom" controllers.
What to do so the debug toolbar to be visible in the views rendered by controllers ?
Here is an example of the controller I use
namespace SD\BlogBundle\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class ContactsController extends Controller
{
public function indexAction()
{
$data = 'Lorem ipsum';
return $this->render('SDBlogBundle:Default:index.html.twig', array('data' => $data));
}
}