diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 12:30:31 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 12:30:31 -0400 |
commit | 7e2e42379cb40a500eb8a236c05788eb3e84d141 (patch) | |
tree | 784dfe04f81b034889b96b5c251923da7e6f3a1e /app/controllers/users/omniauth_callbacks_controller.rb | |
parent | 275218aeaf24d4f9d58589cf68ec6647f0a65050 (diff) | |
download | thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.gz thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.bz2 thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.zip |
Added logging in and logging out
Diffstat (limited to 'app/controllers/users/omniauth_callbacks_controller.rb')
-rw-r--r-- | app/controllers/users/omniauth_callbacks_controller.rb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app/controllers/users/omniauth_callbacks_controller.rb b/app/controllers/users/omniauth_callbacks_controller.rb new file mode 100644 index 0000000..1907e5b --- /dev/null +++ b/app/controllers/users/omniauth_callbacks_controller.rb | |||
@@ -0,0 +1,28 @@ | |||
1 | class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController | ||
2 | # You should configure your model like this: | ||
3 | # devise :omniauthable, omniauth_providers: [:twitter] | ||
4 | |||
5 | # You should also create an action method in this controller like this: | ||
6 | # def twitter | ||
7 | # end | ||
8 | |||
9 | # More info at: | ||
10 | # https://github.com/plataformatec/devise#omniauth | ||
11 | |||
12 | # GET|POST /resource/auth/twitter | ||
13 | # def passthru | ||
14 | # super | ||
15 | # end | ||
16 | |||
17 | # GET|POST /users/auth/twitter/callback | ||
18 | # def failure | ||
19 | # super | ||
20 | # end | ||
21 | |||
22 | # protected | ||
23 | |||
24 | # The path used when OmniAuth fails | ||
25 | # def after_omniauth_failure_path_for(scope) | ||
26 | # super(scope) | ||
27 | # end | ||
28 | end | ||