Sha256: 5b2a8f2d2f37224c7d770f960ccc72482d2e859d567b09ade9a037420bb9feb8

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

require 'active_support/concern'

module Georgia
  module Uploader
    module Storage
      module File
        extend ActiveSupport::Concern

        included do
          include Ckeditor::Backend::CarrierWave
          require 'carrierwave/processing/mini_magick'
          include CarrierWave::MiniMagick
          storage :file
        end

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

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.8.0 lib/georgia/uploader/storage/file.rb