Customize your Devise-Routes

To customize your devise’s routes in Rails

# config/routes.rb
devise_for :users, path: '',
           path_names:   {sign_up: :signup, sign_in: :login, sign_out: :logout},
           controllers:  {
               registrations: 'devise_override/registrations',
               confirmations: 'devise_override/confirmations'
           }

Advertisements