Module: Oasis::Configure

Included in:
Oasis
Defined in:
lib/oasis/configure.rb

Instance Method Summary collapse

Instance Method Details

#configure!(config) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/oasis/configure.rb', line 3

def configure!(config)
  config.after_initialize do
    ActiveSupport::Dependencies.extend Oasis::Dependencies
    require "oasis/routes"
    require "oasis/layout"
  end
end