Permalink
Browse files

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

… a Pathname"

This reverts commit d77b576.
  • Loading branch information...
1 parent d77b576 commit 9875574bbfebfdca96a80cf1c29c83adcbbda8f8 @tenderlove tenderlove committed May 23, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 railties/lib/rails/engine/configuration.rb
@@ -1,5 +1,4 @@
require 'rails/railtie/configuration'
-require 'pathname'
module Rails
class Engine
@@ -9,7 +8,7 @@ class Configuration < ::Rails::Railtie::Configuration
def initialize(root=nil)
super()
- @root = root && Pathname.new(root)
+ @root = root
@generators = app_generators.dup
end

0 comments on commit 9875574

Please sign in to comment.