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



21
22
23
# File 'lib/carrierwave/uploader/paths.rb', line 21

def public
  CarrierWave.config[:public]
end

#rootObject

Returns

String

the directory that is the root of the application



12
13
14
# File 'lib/carrierwave/uploader/paths.rb', line 12

def root
  CarrierWave.config[:root]
end