Module: CarrierWave::Uploader::DefaultUrl

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

Instance Method Summary collapse

Instance Method Details

#default_url(*args) ⇒ Object

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

#url(*args) ⇒ Object



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

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