Module: Cornerstone::Config

Defined in:
lib/cornerstone/config.rb

Overview

This module stores configuration options for Cornerstone

Constant Summary collapse

@@auth_with =
:warden
@@discussion_statuses =
["Open", "Resolved"]
@@mailer_from =
"[email protected]"
@@admin_emails =
[]

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Configure Cornerstone. Run rails generate cornerstone_install to create a fresh initializer with all configuration values.

Yields:

  • (_self)

Yield Parameters:



8
9
10
# File 'lib/cornerstone/config.rb', line 8

def self.setup
  yield self
end