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

Revert "require the constants we use. ensure that root always returns a Pathname"

This reverts commit d77b576c03.
This commit is contained in:
Aaron Patterson 2012-05-23 16:41:40 -07:00
parent d77b576c03
commit 9875574bbf

View file

@ -1,5 +1,4 @@
require 'rails/railtie/configuration'
require 'pathname'
module Rails
class Engine
@ -9,7 +8,7 @@ module Rails
def initialize(root=nil)
super()
@root = root && Pathname.new(root)
@root = root
@generators = app_generators.dup
end