Module: CarrierWave::Uploader::Paths

Defined in:
lib/carrierwave/uploader/paths.rb

Instance Method Summary collapse

Instance Method Details

#publicObject

Returns

String

the directory where files will be publically accessible



19
20
21
# File 'lib/carrierwave/uploader/paths.rb', line 19

def public
  CarrierWave.config[:public]
end

#rootObject

Returns

String

the directory that is the root of the application



10
11
12
# File 'lib/carrierwave/uploader/paths.rb', line 10

def root
  CarrierWave.config[:root]
end