summaryrefslogtreecommitdiff
path: root/app/controllers/profiles/active_sessions_controller.rb
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