debian-mirror-gitlab/app/controllers/profiles/active_sessions_controller.rb
2019-03-13 22:55:13 +05:30

7 lines
203 B
Ruby

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