OSDN Git Service

t30350#:fix destroy
[pettanr/pettanr.git] / app / views / stories / show.html.erb
index 871fd95..fa0c3a0 100644 (file)
@@ -34,6 +34,7 @@
 </p>
 <% if @story.own? @author -%>
   <%= link_to t('link.edit'), edit_story_path(@story) %>
+  <%= link_to t('link.destroy'), story_path(@story), :method => :delete %>
 <% end %>
 
 <hr>