Class: Hello::Registration::SignUpController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Hello::Registration::SignUpController
- Includes:
- Concerns::Registration::SignUp
- Defined in:
- app/controllers/hello/registration/sign_up_controller.rb
Overview
you really should be overriding concerns instead of this file
Instance Method Summary collapse
-
#create ⇒ Object
POST /hello/sign_up.
-
#disabled ⇒ Object
GET /hello/sign_up/disabled.
-
#index ⇒ Object
GET /hello/sign_up.
-
#widget ⇒ Object
GET /hello/sign_up/widget.
Methods included from Concerns::Registration::SignUp
Instance Method Details
#create ⇒ Object
POST /hello/sign_up
24 25 26 27 28 29 30 |
# File 'app/controllers/hello/registration/sign_up_controller.rb', line 24 def create if sign_up_disabled _create_disabled else _create_enabled end end |
#disabled ⇒ Object
GET /hello/sign_up/disabled
33 34 35 |
# File 'app/controllers/hello/registration/sign_up_controller.rb', line 33 def disabled render_sign_up end |
#index ⇒ Object
GET /hello/sign_up
14 15 16 |
# File 'app/controllers/hello/registration/sign_up_controller.rb', line 14 def index render_sign_up end |
#widget ⇒ Object
GET /hello/sign_up/widget
19 20 21 |
# File 'app/controllers/hello/registration/sign_up_controller.rb', line 19 def render 'hello/registration/sign_up_widget', layout: false end |