OSDN Git Service

t#30143:au and ar change
[pettanr/pettanr.git] / app / views / artists / show.html.erb
index 0a09a71..c791476 100644 (file)
@@ -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 %>