Skip to content

Instantly share code, notes, and snippets.

@CGA1123
Created September 14, 2016 09:35
Show Gist options
  • Save CGA1123/dd36a6f44fc841bd96f066c6f3454756 to your computer and use it in GitHub Desktop.
Save CGA1123/dd36a6f44fc841bd96f066c6f3454756 to your computer and use it in GitHub Desktop.
Prefix Verb URI Pattern Controller#Action
new_user_session GET /users/sign_in(.:format) devise/sessions#new
user_session POST /users/sign_in(.:format) devise/sessions#create
destroy_user_session DELETE /users/sign_out(.:format) devise/sessions#destroy
user_password POST /users/password(.:format) devise/passwords#create
new_user_password GET /users/password/new(.:format) devise/passwords#new
edit_user_password GET /users/password/edit(.:format) devise/passwords#edit
PATCH /users/password(.:format) devise/passwords#update
PUT /users/password(.:format) devise/passwords#update
cancel_user_registration GET /users/cancel(.:format) devise/registrations#cancel
user_registration POST /users(.:format) devise/registrations#create
new_user_registration GET /users/sign_up(.:format) devise/registrations#new
edit_user_registration GET /users/edit(.:format) devise/registrations#edit
PATCH /users(.:format) devise/registrations#update
PUT /users(.:format) devise/registrations#update
DELETE /users(.:format) devise/registrations#destroy
user GET /users/:id(.:format) users#show
vault_snippets GET /:username/vaults/:vault_id/snippets(.:format) snippets#index
POST /:username/vaults/:vault_id/snippets(.:format) snippets#create
new_vault_snippet GET /:username/vaults/:vault_id/snippets/new(.:format) snippets#new
edit_vault_snippet GET /:username/vaults/:vault_id/snippets/:id/edit(.:format) snippets#edit
vault_snippet GET /:username/vaults/:vault_id/snippets/:id(.:format) snippets#show
PATCH /:username/vaults/:vault_id/snippets/:id(.:format) snippets#update
PUT /:username/vaults/:vault_id/snippets/:id(.:format) snippets#update
DELETE /:username/vaults/:vault_id/snippets/:id(.:format) snippets#destroy
vaults GET /:username/vaults(.:format) vaults#index
POST /:username/vaults(.:format) vaults#create
new_vault GET /:username/vaults/new(.:format) vaults#new
edit_vault GET /:username/vaults/:id/edit(.:format) vaults#edit
vault GET /:username/vaults/:id(.:format) vaults#show
PATCH /:username/vaults/:id(.:format) vaults#update
PUT /:username/vaults/:id(.:format) vaults#update
DELETE /:username/vaults/:id(.:format) vaults#destroy
authenticated_root GET / vaults#index
explore GET /explore(.:format) home#index
about GET /about(.:format) home#about
root GET / home#index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment