Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add git as a man path to fix #110

  • Loading branch information...
commit a21a0269ddbeafc683e7b654d722e26547df2765 1 parent dc91d46
Scott Chacon schacon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  config/routes.rb
2  config/routes.rb
View
@@ -22,7 +22,7 @@
match "/test" => "doc#test"
match "/doc/ext" => "doc#ext"
- %w{man ref}.each do |path|
+ %w{man ref git}.each do |path|
match "/#{path}/:file" => redirect("/docs/%{file}")
match "/#{path}/:file/:version" => redirect("/docs/%{file}/%{version}"),
:version => /[^\/]+/
Please sign in to comment.
Something went wrong with that request. Please try again.