1
0
Fork 0
dokkan-data-rails/config/routes.rb

11 lines
278 B
Ruby
Raw Normal View History

2015-09-29 19:02:43 -04:00
Rails.application.routes.draw do
2015-09-29 21:21:05 -04:00
get 'auth/:provider/callback', to: 'sessions#create'
get 'auth/failure', to: 'sessions#failure'
delete 'logout', to: 'sessions#destroy', as: 'logout'
2015-09-29 19:02:43 -04:00
2015-10-01 11:56:40 -04:00
resources :links
2015-09-29 21:21:05 -04:00
resources :welcome, only: [:index]
2015-09-29 19:02:43 -04:00
2015-09-29 21:21:05 -04:00
root to: 'welcome#index'
2015-09-29 19:02:43 -04:00
end