Skip to content

Instantly share code, notes, and snippets.

@asecondwill
Created April 26, 2018 06:20
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 asecondwill/34831004b191fa3ac52353ead47c5a64 to your computer and use it in GitHub Desktop.
Save asecondwill/34831004b191fa3ac52353ead47c5a64 to your computer and use it in GitHub Desktop.
Routes for Ransack issue
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
new_user_password GET /users/password/new(.:format) devise/passwords#new
edit_user_password GET /users/password/edit(.:format) devise/passwords#edit
user_password PATCH /users/password(.:format) devise/passwords#update
PUT /users/password(.:format) devise/passwords#update
POST /users/password(.:format) devise/passwords#create
cancel_user_registration GET /users/cancel(.:format) devise/registrations#cancel
new_user_registration GET /users/sign_up(.:format) devise/registrations#new
edit_user_registration GET /users/edit(.:format) devise/registrations#edit
user_registration PATCH /users(.:format) devise/registrations#update
PUT /users(.:format) devise/registrations#update
DELETE /users(.:format) devise/registrations#destroy
POST /users(.:format) devise/registrations#create
welcome_index GET /welcome/index(.:format) welcome#index
welcome GET /welcome(.:format) welcome#index
root GET / welcome#index
operatives GET /operatives(.:format) users#index
POST /operatives(.:format) users#create
new_operative GET /operatives/new(.:format) users#new
edit_operative GET /operatives/:id/edit(.:format) users#edit
operative GET /operatives/:id(.:format) users#show
PATCH /operatives/:id(.:format) users#update
PUT /operatives/:id(.:format) users#update
DELETE /operatives/:id(.:format) users#destroy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment