From c5ad288da409c2c1cca964b42be5380d7a52e5c0 Mon Sep 17 00:00:00 2001 From: Yuki Date: Wed, 26 Aug 2015 01:04:29 +0530 Subject: [PATCH] S3 headers --- app/models/theme.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/theme.rb b/app/models/theme.rb index 39fd7371..38343617 100644 --- a/app/models/theme.rb +++ b/app/models/theme.rb @@ -17,6 +17,8 @@ class Theme < ActiveRecord::Base has_attached_file :css, use_timestamp: false, s3_metadata: { content_type: 'text/stylesheet' + }, s3_headers: { + 'Content-Type': 'text/stylesheet' }, fog_file: { content_type: 'text/stylesheet' }