S3 headers
This commit is contained in:
parent
d6610829f8
commit
c5ad288da4
|
@ -17,6 +17,8 @@ class Theme < ActiveRecord::Base
|
||||||
|
|
||||||
has_attached_file :css, use_timestamp: false, s3_metadata: {
|
has_attached_file :css, use_timestamp: false, s3_metadata: {
|
||||||
content_type: 'text/stylesheet'
|
content_type: 'text/stylesheet'
|
||||||
|
}, s3_headers: {
|
||||||
|
'Content-Type': 'text/stylesheet'
|
||||||
}, fog_file: {
|
}, fog_file: {
|
||||||
content_type: 'text/stylesheet'
|
content_type: 'text/stylesheet'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue