lib/rest-graph/load_config.rb in rest-graph-1.2.0 vs lib/rest-graph/load_config.rb in rest-graph-1.2.1

- old
+ new

@@ -1,10 +1,10 @@ require 'erb' require 'yaml' require 'rest-graph' -require 'rest-graph/rails_controller' if Object.const_defined?(:Rails) +require 'rest-graph/rails_util' if Object.const_defined?(:Rails) module RestGraph::LoadConfig module_function def auto_load! RestGraph::LoadConfig.load_if_rails!