2021-06-22 00:07:30 +09:00
|
|
|
# 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
|
2021-06-23 19:21:40 +09:00
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def set_pack
|
|
|
|
use_pack 'settings'
|
|
|
|
end
|
2021-06-22 00:07:30 +09:00
|
|
|
end
|