Skip to content

Instantly share code, notes, and snippets.

@johnivanoff
Created March 18, 2012 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnivanoff/2082053 to your computer and use it in GitHub Desktop.
Save johnivanoff/2082053 to your computer and use it in GitHub Desktop.
$ rake routes
locations GET (/:locale)/locations(.:format) locations#index
POST (/:locale)/locations(.:format) locations#create
new_location GET (/:locale)/locations/new(.:format) locations#new
edit_location GET (/:locale)/locations/:id/edit(.:format) locations#edit
location GET (/:locale)/locations/:id(.:format) locations#show
PUT (/:locale)/locations/:id(.:format) locations#update
DELETE (/:locale)/locations/:id(.:format) locations#destroy
root /(:locale)(.:format) locations#index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment