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
t#30143:au and ar change
[pettanr/pettanr.git]
/
app
/
views
/
authors
/
show.html.erb
diff --git
a/app/views/authors/show.html.erb
b/app/views/authors/show.html.erb
index
3c114a2
..
555278e
100644
(file)
--- a/
app/views/authors/show.html.erb
+++ b/
app/views/authors/show.html.erb
@@
-16,4
+16,6
@@
<%= l @au.updated_at %>
</p>
-<%= link_to t('link.back'), authors_path %>
+<% if @au.own?(@author) %>
+ <%= link_to t('link.edit'), edit_author_path(@au) %>
+<% end %>