From fb09e7aa5909749f8de696438a5259821bb9e86b Mon Sep 17 00:00:00 2001
From: Saurabh Bhatia
Date: Thu, 23 Jan 2014 17:25:24 +0800
Subject: [PATCH] Removed Download buttons
---
app/views/extensions/index.html.erb | 1 -
app/views/extensions/show.html.erb | 1 -
2 files changed, 2 deletions(-)
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 %>