Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Resolve view paths correctly on CygWin

Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
  • Loading branch information...
commit 5998dd7bb84c76f4c8a272a71b588e2331989b4b 1 parent 485f12f
@rubys rubys authored mikel committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_view/template/resolver.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.