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.15.5 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.15.4 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.15.3 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.15.2 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.15.1 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.15.0 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.14.9 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.14.8 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.14.7 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.14.6 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.14.5 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.14.4 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.14.3 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.14.2 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.14.1 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.14.0 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.13.1 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.13.0 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.12.9 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.12.8 app/controllers/think_feel_do_engine/participants/sessions_controller.rb