app/views/phcscriptcdnpro/scriptcdn/scripts/show.html.erb in phcscriptcdnpro-1.3.0 vs app/views/phcscriptcdnpro/scriptcdn/scripts/show.html.erb in phcscriptcdnpro-1.3.1

- old
+ new

@@ -12,8 +12,9 @@ <p> <strong>Script Version:</strong> <%= @scriptcdn_script.scriptversion_id %> </p> - -<%= link_to 'Edit', edit_scriptcdn_script_path(@scriptcdn_script) %> | -<%= link_to 'Back', scriptcdn_scripts_path %> +<% if current_user %> + <%= link_to 'Edit', edit_scriptcdn_script_path(@scriptcdn_script) %> | + <%= link_to 'Back', scriptcdn_scripts_path %> +<% end %> \ No newline at end of file