Sha256: 64655a8ac55d77316db00847f8199d69a34d6c906039d4fdae51a156328d8e36

Contents?: true

Size: 299 Bytes

Versions: 8

Compression:

Stored size: 299 Bytes

Contents

# Use this hook to configure sunrise
if Object.const_defined?("Sunrise")
  Sunrise.setup do |config|
    # Flash keys
    #config.flash_keys = [ :success, :failure ]
  end
end

if Settings.table_exists?
  Settings.defaults[:some_setting] = "value"
  Settings.defaults[:some_setting2] = "value2"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sunrise-cms-0.4.2 spec/dummy/config/initializers/sunrise.rb
sunrise-cms-0.4.1 spec/dummy/config/initializers/sunrise.rb
sunrise-cms-0.4.0 spec/dummy/config/initializers/sunrise.rb
sunrise-cms-0.3.3 spec/dummy/config/initializers/sunrise.rb
sunrise-cms-0.3.2 spec/dummy/config/initializers/sunrise.rb
sunrise-cms-0.3.1 spec/dummy/config/initializers/sunrise.rb
sunrise-cms-0.3.0 spec/dummy/config/initializers/sunrise.rb
sunrise-cms-0.3.0.rc2 spec/dummy/config/initializers/sunrise.rb