Sha256: f9001216439f0ee9f967b418cab668fd17e2e50743d46cdc034ade54ff7cfcd9

Contents?: true

Size: 402 Bytes

Versions: 13

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true
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

13 entries across 13 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.22.8 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.22.7 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.22.6 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.22.5 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.22.4 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.22.2 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.22.1 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.22.0 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.21.2 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.21.1 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.21.0 app/controllers/think_feel_do_engine/participants/sessions_controller.rb
think_feel_do_engine-3.20.1 app/controllers/think_feel_do_engine/participants/sessions_controller.rb