Sha256: 5152a566fa5c641b00e410577bf3777258f09f8e261916b18cb3d74dfb51ced5

Contents?: true

Size: 313 Bytes

Versions: 35

Compression:

Stored size: 313 Bytes

Contents

# encoding: utf-8
class RedactorRailsDocumentUploader < CarrierWave::Uploader::Base
  include RedactorRails::Backend::CarrierWave

  #storage :file
  storage :fog

  def store_dir
    "system/redactor_assets/documents/#{model.id}"
  end

  def extension_white_list
    RedactorRails.document_file_types
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
wrgem-0.0.55 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.54 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.53 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.52 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.51 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.50 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.49 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.48 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.47 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.46 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.45 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.44 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.43 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.42 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.41 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.40 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.39 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.38 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.37 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb
wrgem-0.0.35 lib/generators/wradmin/template/uploaders/redactor_rails_document_uploader.rb