mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Resolve view paths correctly on CygWin
Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
This commit is contained in:
@@ -104,7 +104,7 @@ module ActionView
|
||||
end
|
||||
|
||||
def query(path, exts)
|
||||
query = "#{@path}/#{path}"
|
||||
query = File.join(@path, path)
|
||||
exts.each do |ext|
|
||||
query << '{' << ext.map {|e| e && ".#{e}" }.join(',') << '}'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user