Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorScott Chacon <schacon@gmail.com>2014-10-25 01:38:29 +0400
committerScott Chacon <schacon@gmail.com>2014-10-25 02:48:11 +0400
commit0f26f69f7c5b9528cf3ea56de9989e5613983159 (patch)
tree5f02b2ec3139b0ab24561ab29d9178a5a96110be /config
parent815e4be74c20b7d3d9c2c9152453ba7f6701a10d (diff)
xrefs all seem to work
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 000857d1..8f6f12d2 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -40,6 +40,7 @@ Gitscm::Application.routes.draw do
get "/commands" => "books#commands"
get "/:lang/v:edition" => "books#show"
get "/:lang/v:edition/:slug" => "books#section"
+ get "/:lang/v:edition/:chapter/:link" => "books#link", chapter: /(ch|app)\d+/
get "/:lang" => "books#show", as: :lang
get "/:lang/:slug" => "books#section"
end