diff --git a/app/views/extensions/index.html.erb b/app/views/extensions/index.html.erb index 5894490..4c41875 100644 --- a/app/views/extensions/index.html.erb +++ b/app/views/extensions/index.html.erb @@ -4,7 +4,6 @@

<%=link_to extension.title, extension %>

Author: <%= extension.author %>

<%=image_tag extension.preview.thumb.url%>

-

<%=link_to 'Download', extension.extension.url, :class=> 'btn btn-success'%>

<%= link_to 'View details »'.html_safe ,extension, :class=>"btn btn-primary"%>

<%end%> \ No newline at end of file diff --git a/app/views/extensions/show.html.erb b/app/views/extensions/show.html.erb index 176a8b7..25d7961 100644 --- a/app/views/extensions/show.html.erb +++ b/app/views/extensions/show.html.erb @@ -24,7 +24,6 @@ <%=image_tag @extension.preview, :width => 600, :height => 300 %>

-

<%=link_to 'Download', @extension.extension.url, :class=> 'btn btn-success'%>

<%if user_signed_in? %> <%= link_to 'Edit', edit_extension_path(@extension) %> | <%= link_to 'Back', extensions_path %>