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
19 20 21 |
# File 'lib/carrierwave/uploader/paths.rb', line 19 def public CarrierWave.config[:public] end |
#root ⇒ Object
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 |