Class: Configurable::Plugin

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/app.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.load!Object



80
81
82
83
84
85
86
# File 'lib/app.rb', line 80

def load!
  pathname = Rails.root.join 'config', 'app'
  require_dependency pathname.to_s
  require_dependency pathname.join(Rails.env).to_s
rescue LoadError => e
  warn e.message
end