Permalink
Browse files

update book routes

  • Loading branch information...
bry4n committed Sep 24, 2012
1 parent 5439beb commit 1f3b660c82858a6f74d458f1e2bd8a196e15faf4
Showing with 2 additions and 2 deletions.
  1. +2 −2 config/routes.rb
View
@@ -31,12 +31,12 @@
end
resource :book do
+ match "/ch:chapter-:section.html" => "books#chapter"
+ match "/:lang/ch:chapter-:section.html" => "books#chapter"
match "/index" => redirect("/book")
match "/commands" => "books#commands"
match "/:lang" => "books#show"
match "/:lang/:slug" => "books#section"
- match "/ch:chapter-:section.html" => "books#chapter"
- match "/:lang/ch:chapter-:section.html" => "books#chapter"
end
match "/download" => "downloads#index"

0 comments on commit 1f3b660

Please sign in to comment.