login_activities_controller.rb 309 B

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