login_activities_controller.rb 223 B

1234567
  1. # frozen_string_literal: true
  2. class Settings::LoginActivitiesController < Settings::BaseController
  3. def index
  4. @login_activities = LoginActivity.where(user: current_user).order(id: :desc).page(params[:page])
  5. end
  6. end