class Combustion::Application

Constants

CONFIGURERS

Public Class Methods

configure_for_combustion() click to toggle source

Some settings we’re not sure if we want, so let’s not load them by default. Instead, wait for this method to be invoked (to get around load-order complications).

# File lib/combustion/application.rb, line 42
def self.configure_for_combustion
  config.root = File.expand_path File.join(Dir.pwd, Combustion.path)

  CONFIGURERS.each { |configurer| configurer.call config }

  config.assets.enabled = true if defined?(Sprockets)
end