Sha256: 12b6f1aa78b52765eab752ddf82bb9cdefeb3df085cd7ebf4a0cdc197e98e458

Contents?: true

Size: 372 Bytes

Versions: 55

Compression:

Stored size: 372 Bytes

Contents

module ThinkFeelDoEngine
  module Participants
    # Extends the Devise controller to record logins.
    class SessionsController < Devise::SessionsController
      layout "application"

      skip_authorization_check

      def create
        super do |resource|
          ParticipantLoginEvent.create(participant_id: resource.id)
        end
      end
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
think_feel_do_engine-3.19.9 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.19.8 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.19.7 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.19.6 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.19.5 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.19.4 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.19.3 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.19.2 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.19.1 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.19.0 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.18.0 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.17.2 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.17.1 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.17.0 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.16.3 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.16.2 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.16.1 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.15.7 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.16.0 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.15.6 app/controllers/think_feel_do_engine/participants/sessions_controller.rb