about summary refs log tree commit diff
path: root/app/controllers/settings/login_activities_controller.rb
blob: ee77524b1367185a554e1ca59ee0bcb05b33fb49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class Settings::LoginActivitiesController < Settings::BaseController
  def index
    @login_activities = LoginActivity.where(user: current_user).order(id: :desc).page(params[:page])
  end

  private

  def set_pack
    use_pack 'settings'
  end
end