Permalink
Browse files

Resolve view paths correctly on CygWin

Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
  • Loading branch information...
1 parent 485f12f commit 5998dd7bb84c76f4c8a272a71b588e2331989b4b @rubys rubys committed with mikel Feb 2, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/template/resolver.rb
@@ -104,7 +104,7 @@ def build_path(name, details, prefix, partial)
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

0 comments on commit 5998dd7

Please sign in to comment.