about summary refs log tree commit diff
path: root/app/controllers/settings/login_activities_controller.rb
blob: 57fa6aef0c86081e6eefbd572b163861808beaff (plain) (blame)
1
2
3
4
5
6
7
# 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
end