Created
July 21, 2009 01:27
-
-
Save curtis/151040 to your computer and use it in GitHub Desktop.
Just an example of Rails routes after using the :as modifier
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(.:format) {:action=>"index", :controller=>"time_entries"} | |
POST /time(.:format) {:action=>"create", :controller=>"time_entries"} | |
new_time_entry GET /time/new(.:format) {:action=>"new", :controller=>"time_entries"} | |
edit_time_entry GET /time/:id/edit(.:format) {:action=>"edit", :controller=>"time_entries"} | |
time_entry GET /time/:id(.:format) {:action=>"show", :controller=>"time_entries"} | |
PUT /time/:id(.:format) {:action=>"update", :controller=>"time_entries"} | |
DELETE /time/: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