Sha256: 4d6d37da25fbde21ec0243871abca2efa7f651afe00b30a97331e371fa5bb919

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

# encoding: utf-8
class CkeditorAttachmentFileUploader < CarrierWave::Uploader::Base
  include Ckeditor::Backend::CarrierWave

  storage :fog

  def store_dir
    "assets/#{model.id}"
  end

  def extension_white_list
    %w(doc docx odt xls ods csv pdf rar zip tar tar.gz ppt pptx)
  end


end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.7.0 app/uploaders/ckeditor_attachment_file_uploader.rb