Sha256: e4634dd0e1f2859864d6fe7aff0ec165ab8f722100719cc40b7086a755221f25

Contents?: true

Size: 360 Bytes

Versions: 44

Compression:

Stored size: 360 Bytes

Contents

module CarrierWave
  module Uploader
    module DefaultUrl

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

      ##
      # Override this method in your uploader to provide a default url
      # in case no file has been cached/stored yet.
      #
      def default_url(*args); end

    end # DefaultPath
  end # Uploader
end # CarrierWave

Version data entries

44 entries across 44 versions & 3 rubygems

Version Path
carrierwave-3.1.1 lib/carrierwave/uploader/default_url.rb
carrierwave-3.1.0 lib/carrierwave/uploader/default_url.rb
carrierwave-3.1.0.rc lib/carrierwave/uploader/default_url.rb
carrierwave-3.1.0.beta lib/carrierwave/uploader/default_url.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/carrierwave-2.2.6/lib/carrierwave/uploader/default_url.rb
carrierwave-3.0.7 lib/carrierwave/uploader/default_url.rb
carrierwave-2.2.6 lib/carrierwave/uploader/default_url.rb
carrierwave-3.0.6 lib/carrierwave/uploader/default_url.rb
carrierwave-2.2.5 lib/carrierwave/uploader/default_url.rb
carrierwave-3.0.5 lib/carrierwave/uploader/default_url.rb
carrierwave-3.0.4 lib/carrierwave/uploader/default_url.rb
carrierwave-1.3.4 lib/carrierwave/uploader/default_url.rb
carrierwave-3.0.3 lib/carrierwave/uploader/default_url.rb
carrierwave-3.0.2 lib/carrierwave/uploader/default_url.rb
carrierwave-3.0.1 lib/carrierwave/uploader/default_url.rb
carrierwave-3.0.0 lib/carrierwave/uploader/default_url.rb
carrierwave-3.0.0.rc lib/carrierwave/uploader/default_url.rb
carrierwave-2.2.4 lib/carrierwave/uploader/default_url.rb
carrierwave-1.3.3 lib/carrierwave/uploader/default_url.rb
carrierwave-2.2.3 lib/carrierwave/uploader/default_url.rb