Sha256: f5bc720b75b999395d07864c2db90e149d172281b8761b314a0123130b0e0790

Contents?: true

Size: 211 Bytes

Versions: 9

Compression:

Stored size: 211 Bytes

Contents

class BlogImageUploader < CarrierWave::Uploader::Base
  include CarrierWave::RMagick

  def store_dir
    "#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
  end

  version :content
  version :thumb
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blog_logic-1.4.15 app/uploaders/blog_image_uploader.rb
blog_logic-1.4.14 app/uploaders/blog_image_uploader.rb
blog_logic-1.4.13 app/uploaders/blog_image_uploader.rb
blog_logic-1.4.12 app/uploaders/blog_image_uploader.rb
blog_logic-1.4.11 app/uploaders/blog_image_uploader.rb
blog_logic-1.4.10 app/uploaders/blog_image_uploader.rb
blog_logic-1.4.9 app/uploaders/blog_image_uploader.rb
blog_logic-1.4.8 app/uploaders/blog_image_uploader.rb
blog_logic-1.4.7 app/uploaders/blog_image_uploader.rb