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

Merge pull request #6471 from parndt/rails_root_should_be_join_able

Fixes possible backward incompatibility
This commit is contained in:
José Valim 2012-05-24 01:06:43 -07:00
commit abccf82c8b

View file

@ -652,7 +652,7 @@ module Rails
root = File.exist?("#{root_path}/#{flag}") ? root_path : default
raise "Could not find root path for #{self}" unless root
File.realpath root
Pathname.new File.realpath root
end
def default_middleware_stack