comparison 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
comparison
equal deleted inserted replaced
324:dd2450dc4717 325:45bf99bfd48b
28 <div class="well"></div> 28 <div class="well"></div>
29 </div> 29 </div>
30 </div> 30 </div>
31 </div> 31 </div>
32 32
33 <%= form_for @paste, :method => :delete do |f| %> 33 <%= form_for @paste, :method => :delete, :authenticity_token => false do |f| %>
34 34
35 <div class="row"><div class="col-md-4"> 35 <div class="row"><div class="col-md-4">
36 <div class="input-group"> 36 <div class="input-group">
37 <%= f.text_field :key, :value => nil, :placeholder => 'Deletion key', :class => "form-control", :autofocus => f.object.errors.any? %> 37 <%= f.text_field :key, :value => nil, :placeholder => 'Deletion key', :class => "form-control", :autofocus => f.object.errors.any? %>
38 <span class="input-group-btn"> 38 <span class="input-group-btn">