2015-02-27 13:58:04 +00:00
|
|
|
class AsciicastUploader < BaseUploader
|
|
|
|
|
2015-03-02 10:53:56 +00:00
|
|
|
def url
|
2015-03-29 18:19:18 +00:00
|
|
|
if CFG.carrierwave_storage == 'file'
|
2015-03-02 10:53:56 +00:00
|
|
|
path
|
|
|
|
else
|
2015-03-29 18:19:18 +00:00
|
|
|
super
|
2015-03-02 10:53:56 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2015-02-27 13:58:04 +00:00
|
|
|
end
|