This commit is contained in:
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",