1
0
Fork 0
dokkan-data-rails/config/routes.rb
2015-10-06 11:50:31 -04:00

10 lines
278 B
Ruby

Rails.application.routes.draw do
get 'auth/:provider/callback', to: 'sessions#create'
get 'auth/failure', to: 'sessions#failure'
delete 'logout', to: 'sessions#destroy', as: 'logout'
resources :links
resources :welcome, only: [:index]
root to: 'welcome#index'
end