S3 headers

This commit is contained in:
Yuki 2015-08-26 01:04:29 +05:30
parent d6610829f8
commit c5ad288da4
1 changed files with 2 additions and 0 deletions

View File

@ -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'
}