This commit is contained in:
Will Bradley 2014-04-10 23:20:50 -07:00
parent cb0f203f82
commit 11f837cf7e
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ class Resource < ActiveRecord::Base
:thumb => "100x100>",
:tiny => "50x50>"},
:storage => :s3,
:s3_protocol => :https,
:s3_credentials => { :access_key_id => ENV['S3_KEY'],
:secret_access_key => ENV['S3_SECRET'] },
:path => ":attachment/:id/:style.:extension",

View File

@ -45,6 +45,6 @@
</div>
<span class="col-sm-4">
<h3>Featured item:</h3>
<h3>Featured tool:</h3>
<%= render @featured_resource unless @featured_resource.blank? %>
</span>