Created
January 11, 2012 17:14
-
-
Save jlebrech/1595667 to your computer and use it in GitHub Desktop.
routes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
book_chapters GET /books/:book_id/chapters(.:format) {:action=>"index", :controller=>"chapters"} | |
POST /books/:book_id/chapters(.:format) {:action=>"create", :controller=>"chapters"} | |
new_book_chapter GET /books/:book_id/chapters/new(.:format) {:action=>"new", :controller=>"chapters"} | |
edit_chapter GET /chapters/:id/edit(.:format) {:action=>"edit", :controller=>"chapters"} | |
chapter GET /chapters/:id(.:format) {:action=>"show", :controller=>"chapters"} | |
PUT /chapters/:id(.:format) {:action=>"update", :controller=>"chapters"} | |
DELETE /chapters/:id(.:format) {:action=>"destroy", :controller=>"chapters"} | |
books GET /books(.:format) {:action=>"index", :controller=>"books"} | |
POST /books(.:format) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment