Permalink
Browse files

add git as a man path to fix #110

  • Loading branch information...
1 parent dc91d46 commit a21a0269ddbeafc683e7b654d722e26547df2765 @schacon schacon committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 => /[^\/]+/

0 comments on commit a21a026

Please sign in to comment.