Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update book routes

  • Loading branch information...
commit 1f3b660c82858a6f74d458f1e2bd8a196e15faf4 1 parent 5439beb
@bry4n bry4n authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 config/routes.rb
View
4 config/routes.rb
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.