git-scm.com/config/routes.rb

26 строки
711 B
Ruby
Исходник Обычный вид История

2012-03-06 20:52:03 +04:00
Gitscm::Application.routes.draw do
get "site/index"
2012-03-06 20:52:03 +04:00
2012-03-08 22:54:25 +04:00
match "/doc" => "doc#index"
2012-04-04 21:20:51 +04:00
match "/ref" => "doc#ref"
match "/ref/:file" => "doc#man"
match "/ref/:file/:version" => "doc#man"
match "/book" => "doc#book"
match "/videos" => "doc#videos"
2012-03-21 02:44:49 +04:00
match "/doc/ext" => "doc#ext"
2012-03-08 22:54:25 +04:00
2012-04-03 21:11:21 +04:00
match "/search" => "site#search"
# mapping for jasons mocks
match "/documentation" => "doc#index"
match "/documentation/reference" => "doc#ref"
match "/documentation/reference/:file.html" => "doc#man"
match "/documentation/book" => "doc#book"
match "/documentation/videos" => "doc#videos"
match "/documentation/external-links" => "doc#ext"
2012-03-08 22:54:25 +04:00
# TODO: old routes to new pages
root :to => 'site#index'
2012-03-06 20:52:03 +04:00
end