Sha256: 85441c41604b21ba2e39572ddfa50a23500a8f4068ef09bb58bbbac80332e49f

Contents?: true

Size: 522 Bytes

Versions: 6

Compression:

Stored size: 522 Bytes

Contents

require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/module/attribute_accessors'
require 'active_support/hash_with_indifferent_access'

module Ecm
  module Downloads
    module Configuration
      def configure
        yield self
      end

      mattr_accessor :paperclip_options do
        {}
      end

      mattr_accessor :base_controller do
        'ApplicationController'
      end

      mattr_accessor :prevent_textile_rendering_in_html do
        true
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecm_downloads2-5.0.4 lib/ecm/downloads/configuration.rb
ecm_downloads2-5.0.2 lib/ecm/downloads/configuration.rb
ecm_downloads2-5.0.1 lib/ecm/downloads/configuration.rb
ecm_downloads2-5.0.0 lib/ecm/downloads/configuration.rb
ecm_downloads2-4.0.1 lib/ecm/downloads/configuration.rb
ecm_downloads2-3.0.0 lib/ecm/downloads/configuration.rb