From: Tom Hughes Date: Fri, 25 Nov 2011 09:41:15 +0000 (+0000) Subject: Make sure all forms have the correct authenticity token X-Git-Tag: live~6144 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/5db8031c237918a5339dcf54ee581afec492e6cb?hp=5db8031c237918a5339dcf54ee581afec492e6cb Make sure all forms have the correct authenticity token 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. ---