diff --git a/app/views/info/show.html.erb b/app/views/info/show.html.erb index 3c2799d..718fe9d 100644 --- a/app/views/info/show.html.erb +++ b/app/views/info/show.html.erb @@ -1,7 +1,9 @@ <% title @info.title %> <%= link_to "Info", info_index_path %> → <%= @info.title %> -<%= link_to "Edit Info", edit_info_path(@info), class: "btn blue right" %> +<% if mod? %> + <%= link_to "Edit Info", edit_info_path(@info), class: "btn blue right" %> +<% end %>