Sha256: a964dfa3ef2b6ebdb1c5ae5445446694404aa39082802810c95ea1a9071d0cf5

Contents?: true

Size: 459 Bytes

Versions: 8

Compression:

Stored size: 459 Bytes

Contents

module CarrierWave
  module Uploader
    module Paths

      ##
      # === Returns
      #
      # [String] the directory that is the root of the application
      #
      def root
        CarrierWave.config[:root]
      end

      ##
      # === Returns
      #
      # [String] the directory where files will be publically accessible
      #
      def public
        CarrierWave.config[:public]
      end

    end # Paths
  end # Uploader
end # CarrierWave

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
jnicklas-carrierwave-0.2.3 lib/carrierwave/uploader/paths.rb
jnicklas-carrierwave-0.2.4 lib/carrierwave/uploader/paths.rb
jnicklas-carrierwave-0.3.0 lib/carrierwave/uploader/paths.rb
jnicklas-carrierwave-0.3.1 lib/carrierwave/uploader/paths.rb
carrierwave-0.3.0 lib/carrierwave/uploader/paths.rb
carrierwave-0.3.1 lib/carrierwave/uploader/paths.rb
carrierwave-0.2.4 lib/carrierwave/uploader/paths.rb
carrierwave-0.2.3 lib/carrierwave/uploader/paths.rb