OSDN Git Service

t#32329:fix edit navi
[pettanr/pettanr.git] / app / views / scrolls / show.html.erb
index 18320c4..8134fa8 100644 (file)
@@ -32,8 +32,8 @@
   <%= l @scroll.updated_at %>
 </p>
 
-<%= link_to t('link.edit'), edit_scroll_path(@scroll) %>
 <% if @scroll.own? @author -%>
+  <%= link_to t('link.edit'), edit_scroll_path(@scroll) %>
   <h3><%= t('scroll_panels.append.new_panels') -%></h3>
   <table>
     <% @new_panels.each do |panel| %>