From cc8e2448eb1043c87287a3ab9a82e6564301afd7 Mon Sep 17 00:00:00 2001 From: Yuki Date: Wed, 26 Aug 2015 01:44:17 +0530 Subject: [PATCH] probably shouldn't do this --- app/models/theme.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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\//