Class: Georgia::AttachmentUploader

Inherits:
CarrierWave::Uploader::Base
  • Object
show all
Defined in:
app/uploaders/georgia/attachment_uploader.rb

Instance Method Summary collapse

Instance Method Details

#extension_white_listObject



11
12
13
# File 'app/uploaders/georgia/attachment_uploader.rb', line 11

def extension_white_list
  Ckeditor.attachment_file_types
end

#store_dirObject



7
8
9
# File 'app/uploaders/georgia/attachment_uploader.rb', line 7

def store_dir
  "/uploads/ckeditor/attachments/#{model.id}"
end