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/sessions_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/sessions_controller.rb')
-rw-r--r-- | app/controllers/users/sessions_controller.rb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app/controllers/users/sessions_controller.rb b/app/controllers/users/sessions_controller.rb new file mode 100644 index 0000000..889fba5 --- /dev/null +++ b/app/controllers/users/sessions_controller.rb | |||
@@ -0,0 +1,26 @@ | |||
1 | class Users::SessionsController < Devise::SessionsController | ||
2 | layout "userdata" | ||
3 | # before_action :configure_sign_in_params, only: [:create] | ||
4 | |||
5 | # GET /resource/sign_in | ||
6 | # def new | ||
7 | # super | ||
8 | # end | ||
9 | |||
10 | # POST /resource/sign_in | ||
11 | # def create | ||
12 | # super | ||
13 | # end | ||
14 | |||
15 | # DELETE /resource/sign_out | ||
16 | # def destroy | ||
17 | # super | ||
18 | # end | ||
19 | |||
20 | # protected | ||
21 | |||
22 | # If you have extra params to permit, append them to the sanitizer. | ||
23 | # def configure_sign_in_params | ||
24 | # devise_parameter_sanitizer.permit(:sign_in, keys: [:attribute]) | ||
25 | # end | ||
26 | end | ||