about summary refs log tree commit diff stats
path: root/app/controllers/users/registrations_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/users/registrations_controller.rb')
-rw-r--r--app/controllers/users/registrations_controller.rb60
1 files changed, 60 insertions, 0 deletions
diff --git a/app/controllers/users/registrations_controller.rb b/app/controllers/users/registrations_controller.rb new file mode 100644 index 0000000..4d6fbad --- /dev/null +++ b/app/controllers/users/registrations_controller.rb
@@ -0,0 +1,60 @@
1class Users::RegistrationsController < Devise::RegistrationsController
2 # before_action :configure_sign_up_params, only: [:create]
3 # before_action :configure_account_update_params, only: [:update]
4
5 # GET /resource/sign_up
6 # def new
7 # super
8 # end
9
10 # POST /resource
11 # def create
12 # super
13 # end
14
15 # GET /resource/edit
16 # def edit
17 # super
18 # end
19
20 # PUT /resource
21 # def update
22 # super
23 # end
24
25 # DELETE /resource
26 # def destroy
27 # super
28 # end
29
30 # GET /resource/cancel
31 # Forces the session data which is usually expired after sign
32 # in to be expired now. This is useful if the user wants to
33 # cancel oauth signing in/up in the middle of the process,
34 # removing all OAuth session data.
35 # def cancel
36 # super
37 # end
38
39 # protected
40
41 # If you have extra params to permit, append them to the sanitizer.
42 # def configure_sign_up_params
43 # devise_parameter_sanitizer.permit(:sign_up, keys: [:attribute])
44 # end
45
46 # If you have extra params to permit, append them to the sanitizer.
47 # def configure_account_update_params
48 # devise_parameter_sanitizer.permit(:account_update, keys: [:attribute])
49 # end
50
51 # The path used after sign up.
52 # def after_sign_up_path_for(resource)
53 # super(resource)
54 # end
55
56 # The path used after sign up for inactive accounts.
57 # def after_inactive_sign_up_path_for(resource)
58 # super(resource)
59 # end
60end