diff app/views/pastes/show.html.erb @ 325:45bf99bfd48b

Remove authenticity token from form.
author edogawaconan <me@myconan.net>
date Sun, 06 Apr 2014 18:25:59 +0900
parents 1a409564ffad
children 92c62966191b
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">