Sha256: 9d85fbfd1520bfc46a72f2c67751589f419ecabce575075fa97ef37911bf210c

Contents?: true

Size: 693 Bytes

Versions: 4

Compression:

Stored size: 693 Bytes

Contents

module ComfyGallery
  class Configuration
    
    # Paperclip upload settings for photos
    attr_accessor :upload_options
  
    # 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
    
    # Configuration defaults
    def initialize
      @upload_options     = { }
      @admin_route_prefix = 'admin'
      @admin_controller   = 'ApplicationController'
      @form_builder       = 'ComfyGallery::FormBuilder'
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
comfy_gallery-0.1.3 lib/comfy_gallery/configuration.rb
comfy_gallery-0.1.2 lib/comfy_gallery/configuration.rb
comfy_gallery-0.1.1 lib/comfy_gallery/configuration.rb
comfy_gallery-0.1.0 lib/comfy_gallery/configuration.rb