]> git.openstreetmap.org Git - rails.git/commit
Use form_tag instead of building forms by hand
authorTom Hughes <tom@compton.nu>
Fri, 3 Sep 2010 15:53:01 +0000 (16:53 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 14 Nov 2011 09:42:42 +0000 (09:42 +0000)
commit2bc44dfddc214efcec9dd2e920fac14a7c2dcec0
treed0ef581fbcd0f243c6f709e656785eb9c8ac8441
parent09e5528ecdcc2b5c8d28666dd09fe1af19afc6b2
Use form_tag instead of building forms by hand

In order for CSRF protection to work we need to use form_for or form_tag
to build all forms so that the authenticity token is added.
app/views/user/confirm.html.erb
app/views/user/confirm_email.html.erb