Class: RegistrationsController
- Inherits:
-
Devise::RegistrationsController
- Object
- Devise::RegistrationsController
- RegistrationsController
- Defined in:
- lib/generators/frame/omniauth/templates/app/controllers/registrations_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
3 4 5 6 |
# File 'lib/generators/frame/omniauth/templates/app/controllers/registrations_controller.rb', line 3 def create super session[:omniauth] = nil unless @user.new_record? end |
#edit ⇒ Object
8 9 10 11 |
# File 'lib/generators/frame/omniauth/templates/app/controllers/registrations_controller.rb', line 8 def edit @authentications = current_user.authentications if current_user super end |