@@ -20,8 +20,7 @@ class CoverUploader < CarrierWave::Uploader::Base |
||
20 | 20 |
if Rails.env.production? |
21 | 21 |
# Include the Sprockets helpers for Rails 3.1+ asset pipeline compatibility if using fog: |
22 | 22 |
# include Sprockets::Rails::Helper |
23 |
- include Sprockets::Helpers::RailsHelper |
|
24 |
- include Sprockets::Helpers::IsolatedHelper |
|
23 |
+ include Sprockets::Helpers |
|
25 | 24 |
storage :fog |
26 | 25 |
end |
27 | 26 |
|
@@ -19,8 +19,7 @@ class FileUploader < CarrierWave::Uploader::Base |
||
19 | 19 |
if Rails.env.production? |
20 | 20 |
# Include the Sprockets helpers for Rails 3.1+ asset pipeline compatibility if using fog: |
21 | 21 |
# include Sprockets::Rails::Helper |
22 |
- include Sprockets::Helpers::RailsHelper |
|
23 |
- include Sprockets::Helpers::IsolatedHelper |
|
22 |
+ include Sprockets::Helpers |
|
24 | 23 |
storage :fog |
25 | 24 |
end |
26 | 25 |
|