Module: CarrierWave::Uploader::DefaultUrl
- Included in:
- Base
- Defined in:
- lib/carrierwave/uploader/default_url.rb
Instance Method Summary collapse
-
#default_url ⇒ Object
Override this method in your uploader to provide a default url in case no file has been cached/stored yet.
- #url(*args) ⇒ Object
Instance Method Details
#default_url ⇒ 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; end |
#url(*args) ⇒ Object
7 8 9 |
# File 'lib/carrierwave/uploader/default_url.rb', line 7 def url(*args) super || default_url end |