Sprankelprachtig aan/afmeldsysteem

routes.rb 523B

123456789101112131415
  1. Rails.application.routes.draw do
  2. get 'login', to: 'authentication#login_form'
  3. post 'login', to: 'authentication#login'
  4. get 'register', to: 'authentication#create_password_form'
  5. post 'register', to: 'authentication#create_password'
  6. get 'forgot', to: 'authentication#forgotten_password_form'
  7. post 'forgot', to: 'authentication#forgotten_password'
  8. get 'logintest', to: 'authentication#login_status'
  9. # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  10. end