Sha256: 82c00f51c77307e0bf9b91d460167fb82aee5a9ae554ce07fe4c93d0b2dbfb20

Contents?: true

Size: 260 Bytes

Versions: 70

Compression:

Stored size: 260 Bytes

Contents

# encoding: utf-8

module Locomotive
  class ContentAssetUploader < ::CarrierWave::Uploader::Base

    include Locomotive::CarrierWave::Uploader::Asset

    def store_dir
      self.build_store_dir('sites', model.site_id, 'assets', model.id)
    end

  end
end

Version data entries

70 entries across 70 versions & 3 rubygems

Version Path
locomotivecms-3.3.0 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.3.0.rc3 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.3.0.rc2 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.1.2 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.2.1 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.3.0.rc1 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.2.0 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.2.0.rc2 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.2.0.rc1 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.1.1 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.1.0 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.1.0.rc3 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.1.0.rc2 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.1.0.rc1 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.1 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.0 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.0.rc7 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.0.rc6 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.0.rc5 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.0.rc4 app/uploaders/locomotive/content_asset_uploader.rb