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:
commit
abccf82c8b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue