Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… a Pathname"

This reverts commit d77b576.
  • Loading branch information...
commit 9875574bbfebfdca96a80cf1c29c83adcbbda8f8 1 parent d77b576
@tenderlove tenderlove authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  railties/lib/rails/engine/configuration.rb
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.