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.0.0.rc3 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.0.rc2 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.0.rc1 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.0.pre.beta.1 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.0.pre.alpha.3 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.7 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.0.pre.alpha.2 app/uploaders/locomotive/content_asset_uploader.rb
locomotivecms-3.0.0.pre.alpha app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.6 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.6.rc2 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.6.rc1 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.5 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.4 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.3 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.2 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.1 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.0 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.0.rc3 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.0.rc2 app/uploaders/locomotive/content_asset_uploader.rb
locomotive_cms-2.5.0.rc1 app/uploaders/locomotive/content_asset_uploader.rb