changeset 325:45bf99bfd48b

Remove authenticity token from form.
author edogawaconan <me@myconan.net>
date Sun, 06 Apr 2014 18:25:59 +0900
parents dd2450dc4717
children 9193eb99eaf0
files app/views/pastes/show.html.erb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/pastes/show.html.erb	Sun Apr 06 03:52:53 2014 +0900
+++ b/app/views/pastes/show.html.erb	Sun Apr 06 18:25:59 2014 +0900
@@ -30,7 +30,7 @@
   </div>
 </div>
 
-<%= form_for @paste, :method => :delete do |f| %>
+<%= form_for @paste, :method => :delete, :authenticity_token => false do |f| %>
 
   <div class="row"><div class="col-md-4">
     <div class="input-group">