I was following this tutorial describing how to create pages with symfony.
Everything was doing well till the method indexAction
returned a basic Response
object containing the html code.
Then I want to try the twig template engine, I change the "hello" by another word in the template in order to see the difference.
And when I reload the page, no change shown, as if the indexAction
method of the controller still return the previous Response object...
I've tried to clear the cache, restart the apache server but it changes nothing. I've strictly followed the steps described in the tutorial (extension of the class Symfony\Bundle\FrameworkBundle\Controller\Controller etc...)
Do you have any idea of what could be the reasons of this problem?
rm -rf app/cache
makes this work, then you have a permission problem. – greg0ire