diff --git a/app/models/theme.rb b/app/models/theme.rb index 3a824363..3047bf41 100644 --- a/app/models/theme.rb +++ b/app/models/theme.rb @@ -16,11 +16,9 @@ class Theme < ActiveRecord::Base allow_nil: true, only_integer: true has_attached_file :css, use_timestamp: false, s3_headers: { - 'Content-Type' => 'text/css', - 'Content-Disposition' => 'attachment; filename=theme.css' + 'Content-Type' => 'text/css' }, fog_file: { - content_type: 'text/css', - content_disposition: "attachment; filename=theme.css" + content_type: 'text/css' } validates_attachment_content_type :css, content_type: /^text\//