Sha256: 18023a92068b7868c415d8ac856f85f09ec375e30bf42a10576045de8cce0337

Contents?: true

Size: 270 Bytes

Versions: 8

Compression:

Stored size: 270 Bytes

Contents

# encoding: utf-8
module Georgia
  class AttachmentUploader < CarrierWave::Uploader::Base

    storage :fog

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

    def extension_white_list
      Ckeditor.attachment_file_types
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
georgia-0.7.7 app/uploaders/georgia/attachment_uploader.rb
georgia-0.7.6 app/uploaders/georgia/attachment_uploader.rb
georgia-0.7.5 app/uploaders/georgia/attachment_uploader.rb
georgia-0.7.4 app/uploaders/georgia/attachment_uploader.rb
georgia-0.7.3 app/uploaders/georgia/attachment_uploader.rb
georgia-0.7.2 app/uploaders/georgia/attachment_uploader.rb
georgia-0.7.1 app/uploaders/georgia/attachment_uploader.rb
georgia-0.7.0 app/uploaders/georgia/attachment_uploader.rb