Created
October 17, 2013 14:44
-
-
Save ml242/7026209 to your computer and use it in GitHub Desktop.
Restful Routing Paths in Rails 3.2
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
get '/countries' => 'countries#index' # | |
get '/countries/new' => 'countries#new' # | |
post '/countries' => 'countries#create' # | |
get '/countries/:id' => 'countries#show' # | |
get '/countries/:id/edit' => 'countries#edit' # | |
post '/countries/:id' => 'countries#update' # | |
post '/countries/:id/delete' => 'countries#destroy' # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment