Welcome to mirror list, hosted at ThFree Co, Russian Federation.

active_sessions_controller.rb « profiles « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c473023cacb588a4d46aa8f23775e95a90aaca67 (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true

class Profiles::ActiveSessionsController < Profiles::ApplicationController
  def index
    @sessions = ActiveSession.list(current_user).reject(&:is_impersonated)
  end
end