Sha256: 1b1829688f3c5ff9073bcd00913537856d6a1a9aa8cb1836c4b5d38f7ab4a781

Contents?: true

Size: 184 Bytes

Versions: 5

Compression:

Stored size: 184 Bytes

Contents

class RedactorRails::Document < RedactorRails::Asset
  mount_uploader :data, RedactorRailsDocumentUploader, :mount_on => :data_file_name

  def url_content
    url(:content)
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
vision-0.0.2 app/models/redactor_rails/document.rb
vision-0.0.1 app/models/redactor_rails/document.rb
vision-0.0.1.beta2 app/models/redactor_rails/document.rb
vision-0.0.1.beta app/models/redactor_rails/document.rb
redactor-rails-0.3.3 lib/generators/redactor/templates/active_record/carrierwave/redactor/document.rb