Module: CarrierWave::Uploader::DefaultUrl

Included in:
Base
Defined in:
lib/carrierwave/uploader/default_url.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) default_url(*args)

Override this method in your uploader to provide a default url in case no file has been cached/stored yet.



15
# File 'lib/carrierwave/uploader/default_url.rb', line 15

def default_url(*args); end

- (Object) url(*args)



7
8
9
# File 'lib/carrierwave/uploader/default_url.rb', line 7

def url(*args)
  super || default_url(*args)
end