by Thomas Beutel
...CONTEMPLATING CODE AND LIFE
...CONTEMPLATING CODE AND LIFE

Meta refresh in Symfony – use view.yml

August 19th, 2009 Posted in Symfony

The easiest way I’ve found to add meta refresh to a specific action in Symfony is to use the view.yml file. Note that I use http_metas, not regular metas.

indexSuccess:
  http_metas:
    refresh: 300

which results in adding the following, as you would expect:

<meta http-equiv="Refresh" content="300" />
  • ctalpaert
    Thank you for your post.
    I found no documentation on the "refresh meta tag".
blog comments powered by Disqus