Created
July 21, 2009 01:17
-
-
Save curtis/151034 to your computer and use it in GitHub Desktop.
Just an example of Rails routes generated from a resource
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
time_entries GET /time_entries(.:format) {:action=>"index", :controller=>"time_entries"} | |
POST /time_entries(.:format) {:action=>"create", :controller=>"time_entries"} | |
new_time_entry GET /time_entries/new(.:format) {:action=>"new", :controller=>"time_entries"} | |
edit_time_entry GET /time_entries/:id/edit(.:format) {:action=>"edit", :controller=>"time_entries"} | |
time_entry GET /time_entries/:id(.:format) {:action=>"show", :controller=>"time_entries"} | |
PUT /time_entries/:id(.:format) {:action=>"update", :controller=>"time_entries"} | |
DELETE /time_entries/:id(.:format) {:action=>"destroy", :controller=>"time_entries"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment