Added some code to config/environment.rb to accomodate recent Rails changes
This commit is contained in:
parent
b1b04e1af4
commit
06e806fe30
1 changed files with 5 additions and 0 deletions
|
@ -68,3 +68,8 @@ require 'wiki_service'
|
||||||
Socket.do_not_reverse_lookup = true
|
Socket.do_not_reverse_lookup = true
|
||||||
|
|
||||||
ActionController::Base.template_root ||= "#{RAILS_ROOT}/app/views/"
|
ActionController::Base.template_root ||= "#{RAILS_ROOT}/app/views/"
|
||||||
|
ActionController::Routing::Routes.reload
|
||||||
|
Controllers = Dependencies::LoadingModule.root(
|
||||||
|
File.expand_path(File.join(RAILS_ROOT, 'app', 'controllers')),
|
||||||
|
File.expand_path(File.join(RAILS_ROOT, 'components'))
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue