Sha256: 02f53fc5dc19c7ff8822c1390f11ae0a3a0c52f3f6178e317cfef995fd0f2213
Contents?: true
Size: 1.05 KB
Versions: 4
Compression:
Stored size: 1.05 KB
Contents
Cally::Engine.routes.draw do ### application routes ### resources :users get 'login', to: 'users#login' post 'login', to: 'session#create' delete 'logout', to: 'session#destroy' post 'toggle_admin/:id', as: 'toggle_admin', to: 'users#toggle_admin' get 'forgot_password', as: 'forgot_password', to: 'users#forgot_password' post 'forgot_password', to: 'users#ask_security_question' put 'forgot_password', to: 'users#reset_password' get 'reset/:user_key/:reset_key', as: 'reset', to: 'users#reset' post 'reset/:user_key/:reset_key', to: 'users#execute_reset' get 'invitations', to: 'invitations#new', as: 'invitation' post 'invitations', to: 'invitations#create' get 'invitations/all', as: 'all_invitations', to: 'invitations#index' delete 'invitations/:id', as: 'delete_invitation', to: 'invitations#destroy' get 'send_invitation/:id', to: 'invitations#send_invitation', as: 'send_invitation' get 'invitation/(:invitation_key)', to: 'users#new', as: 'invite ' ### end application routes ### end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cally-1.0.3 | config/routes.rb |
cally-1.0.2 | config/routes.rb |
cally-1.0.1 | config/routes.rb |
cally-1.0.0 | config/routes.rb |