提交 45aabe61 编写于 作者: S Santiago Pastorino

There's no need to access Railties through self.class

Closes #9386
上级 02037c3e
require 'rails/railtie'
require 'rails/engine/railties'
require 'active_support/core_ext/module/delegation'
require 'pathname'
require 'rbconfig'
......@@ -467,7 +468,7 @@ def eager_load!
end
def railties
@railties ||= self.class::Railties.new
@railties ||= Railties.new
end
# Returns a module with all the helpers defined for the engine.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册