Created
September 20, 2010 11:32
-
-
Save accuser/587767 to your computer and use it in GitHub Desktop.
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
$ rake routes | |
posts GET /posts(.:format) {:action=>"index", :controller=>"posts"} | |
posts POST /posts(.:format) {:action=>"create", :controller=>"posts"} | |
new_post GET /posts/new(.:format) {:action=>"new", :controller=>"posts"} | |
edit_post GET /posts/:id(/:slug)/edit(.:format) {:action=>"edit", :controller=>"posts"} | |
post GET /posts/:id(/:slug)(.:format) {:action=>"show", :controller=>"posts"} | |
post PUT /posts/:id(/:slug)(.:format) {:action=>"update", :controller=>"posts"} | |
post DELETE /posts/:id(/:slug)(.:format) {:action=>"destroy", :controller=>"posts"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment