Class: ThinkFeelDoEngine::Participants::SessionsController
- Inherits:
-
Devise::SessionsController
- Object
- Devise::SessionsController
- ThinkFeelDoEngine::Participants::SessionsController
- Defined in:
- app/controllers/think_feel_do_engine/participants/sessions_controller.rb
Overview
Extends the Devise controller to record logins.
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
10 11 12 13 14 |
# File 'app/controllers/think_feel_do_engine/participants/sessions_controller.rb', line 10 def create super do |resource| ParticipantLoginEvent.create(participant_id: resource.id) end end |