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
/
artists
/
show.html.erb
diff --git
a/app/views/artists/show.html.erb
b/app/views/artists/show.html.erb
index
0a09a71
..
c791476
100644
(file)
--- a/
app/views/artists/show.html.erb
+++ b/
app/views/artists/show.html.erb
@@
-16,4
+16,6
@@
<%= l @ar.updated_at %>
</p>
-<%= link_to t('link.back'), artists_path %>
+<% if @ar.own?(@artist) %>
+ <%= link_to t('link.edit'), edit_artist_path(@ar) %>
+<% end %>