Class: RegistrationsController
- Inherits:
-
Devise::RegistrationsController
- Object
- Devise::RegistrationsController
- RegistrationsController
- Defined in:
- app/controllers/registrations_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
12 13 14 15 16 |
# File 'app/controllers/registrations_controller.rb', line 12 def create build_resource super session[:omniauth] = nil unless @user.new_record? end |
#edit ⇒ Object
8 9 10 |
# File 'app/controllers/registrations_controller.rb', line 8 def edit redirect_to edit_dashboard_user_path end |
#new ⇒ Object
3 4 5 6 |
# File 'app/controllers/registrations_controller.rb', line 3 def new build_resource render :new end |