5eb9d6854c
As utf-8 is the default encoding since Ruby 2, this is no longer needed
9 lines
171 B
Ruby
9 lines
171 B
Ruby
class BaseUploader < CarrierWave::Uploader::Base
|
|
def cache_dir
|
|
if Rails.env.production?
|
|
'/tmp/tps-cache'
|
|
else
|
|
'/tmp/tps-dev-cache'
|
|
end
|
|
end
|
|
end
|