OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t30350#:fix destroy
[pettanr/pettanr.git]
/
app
/
views
/
stories
/
show.html.erb
diff --git
a/app/views/stories/show.html.erb
b/app/views/stories/show.html.erb
index
871fd95
..
fa0c3a0
100644
(file)
--- a/
app/views/stories/show.html.erb
+++ b/
app/views/stories/show.html.erb
@@
-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>