Sha256: 797eb2edd4399e5e68909ad5632ebf0840c345340018bfd84e1dc5dcb679aa43

Contents?: true

Size: 697 Bytes

Versions: 2

Compression:

Stored size: 697 Bytes

Contents

module ComfyCarousel
  class Configuration
    
    # Default url to access admin area is http://yourhost/cms-admin/ 
    # You can change 'cms-admin' to 'admin', for example.
    attr_accessor :admin_route_prefix
    
    # Controller that should be used for admin area
    attr_accessor :admin_controller
    
    # Form builder
    attr_accessor :form_builder
    
    # Paperclip upload settings for photos
    attr_accessor :upload_options
    
    # Configuration defaults
    def initialize
      @admin_route_prefix = 'admin'
      @admin_controller   = 'ApplicationController'
      @form_builder       = 'ComfyCarousel::FormBuilder'
      @upload_options     = { }
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
comfy_carousel-0.0.3 lib/comfy_carousel/configuration.rb
comfy_carousel-0.0.2 lib/comfy_carousel/configuration.rb