]> git.openstreetmap.org Git - rails.git/commitdiff
Make sure all forms have the correct authenticity token
authorTom Hughes <tom@compton.nu>
Fri, 25 Nov 2011 09:41:15 +0000 (09:41 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 25 Nov 2011 09:41:15 +0000 (09:41 +0000)
A cached page may include forms, which will then have the wrong
authenticity token, so after the page has finished loading we fix
up those tokens using the one from the meta tags which will always
be correct as we never cache the layout.


No differences found