Class: Locomotive::EditableFileUploader
- Inherits:
-
CarrierWave::Uploader::Base
- Object
- CarrierWave::Uploader::Base
- Locomotive::EditableFileUploader
- Includes:
- CarrierWave::MimeTypes
- Defined in:
- app/uploaders/locomotive/editable_file_uploader.rb
Instance Method Summary collapse
Methods inherited from CarrierWave::Uploader::Base
#build_store_dir, #to_label, #to_liquid
Instance Method Details
#store_dir ⇒ Object
10 11 12 |
# File 'app/uploaders/locomotive/editable_file_uploader.rb', line 10 def store_dir self.build_store_dir('sites', model.page.site_id, 'pages', model.page.id, 'files') end |