OSDN Git Service

t#32329:fix edit navi
authoryasushiito <yas@pen-chan.jp>
Fri, 25 Oct 2013 10:03:48 +0000 (19:03 +0900)
committeryasushiito <yas@pen-chan.jp>
Fri, 25 Oct 2013 10:03:48 +0000 (19:03 +0900)
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| %>