Meta refresh in Symfony – use view.yml

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″ />