Module: CarrierWave::Uploader::Paths
- Defined in:
- lib/carrierwave/uploader/paths.rb
Instance Method Summary collapse
-
#public ⇒ Object
Returns.
-
#root ⇒ Object
Returns.
Instance Method Details
#public ⇒ Object
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 |
#root ⇒ Object
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 |