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:
parent
d77b576c03
commit
9875574bbf
1 changed files with 1 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
require 'rails/railtie/configuration'
|
require 'rails/railtie/configuration'
|
||||||
require 'pathname'
|
|
||||||
|
|
||||||
module Rails
|
module Rails
|
||||||
class Engine
|
class Engine
|
||||||
|
@ -9,7 +8,7 @@ module Rails
|
||||||
|
|
||||||
def initialize(root=nil)
|
def initialize(root=nil)
|
||||||
super()
|
super()
|
||||||
@root = root && Pathname.new(root)
|
@root = root
|
||||||
@generators = app_generators.dup
|
@generators = app_generators.dup
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue