mixing in some sorcery auth

This commit is contained in:
2015-10-07 22:03:31 -05:00
parent 63d4063392
commit 5a9c4a341a
23 changed files with 626 additions and 34 deletions

View File

@ -1,4 +1,8 @@
Rails.application.routes.draw do
post 'oauth/callback', to: 'oauths#callback'
get 'oauth/callback', to: 'oauths#callback'
get 'oauth/:provider', to: 'oauths#oauth', as: :auth_at_provider
get 'parents', to: 'parents#index', as: :list_parents
get 'parent/new', to: 'parents#new', as: :new_parent
post 'parent/new', to: 'parents#add', as: :add_parent