You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sunny Ripert edited this page Aug 19, 2016
·
5 revisions
Overview
Devise uses the default sign_path which is /users/sign_up. If for some reason you would like to change the default path, assuming you have not generated a custom registration/sign_up controller, to domain.com/sign_up:
# top level of your routes.rbRails.application.routes.drawdodevise_scope:userdoget"/sign_in"=>"devise/sessions#new"# custom path to login/sign_inget"/sign_up"=>"devise/registrations#new",as: "new_user_registration"# custom path to sign_up/registrationend# Below for all other routes:devise_for:users
...
end