From 11f837cf7e72d37ffef8392afadb5d38c04887d5 Mon Sep 17 00:00:00 2001 From: Will Bradley Date: Thu, 10 Apr 2014 23:20:50 -0700 Subject: [PATCH] HTTPS --- app/models/resource.rb | 1 + app/views/home/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/resource.rb b/app/models/resource.rb index 854a75d..8454201 100755 --- a/app/models/resource.rb +++ b/app/models/resource.rb @@ -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", diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 17d5f09..26d277c 100755 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -45,6 +45,6 @@ -

Featured item:

+

Featured tool:

<%= render @featured_resource unless @featured_resource.blank? %>
\ No newline at end of file