OSDN Git Service

t#30143:au and ar change
[pettanr/pettanr.git] / app / views / authors / show.html.erb
index 3c114a2..555278e 100644 (file)
@@ -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 %>