1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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

Closes #9386
This commit is contained in:
Santiago Pastorino 2013-02-27 13:11:43 -02:00
parent 02037c3ea0
commit 45aabe6152

View file

@ -1,4 +1,5 @@
require 'rails/railtie'
require 'rails/engine/railties'
require 'active_support/core_ext/module/delegation'
require 'pathname'
require 'rbconfig'
@ -467,7 +468,7 @@ module Rails
end
def railties
@railties ||= self.class::Railties.new
@railties ||= Railties.new
end
# Returns a module with all the helpers defined for the engine.