class Boxroom::Configuration

Attributes

current_user_method[RW]
enable_notifications[RW]
parent_controller[RW]
show_groups[RW]
show_settings[RW]
show_shared_files[RW]
show_users[RW]
sign_in_path[RW]
sign_out_path[RW]
site_name[RW]
uploads_path[RW]

Public Class Methods

new() click to toggle source
# File lib/boxroom/configuration.rb, line 18
def initialize
  @site_name            = 'Boxroom'
  @logo                 = 'boxroom/logo.png'
  @show_footer          = true
  @show_users           = true
  @show_groups          = true
  @show_settings        = true
  @show_shared_files    = true
  @show_search          = true
  @enable_notifications = true
  @uploads_path         = 'uploads'

  # Integrate with existing user model
  @current_user_method = nil
  @sign_in_path        = nil
  @sign_out_path       = nil

  @parent_controller = 'ApplicationController'
end