From 979059fbc93664b38b720b369b31beaa89457879 Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 23 Jun 2021 12:21:40 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20login=20date=20not=20showing=20up=20in=20?= =?UTF-8?q?login=20history=20by=20using=20=E2=80=9Cpublic=E2=80=9D=20pack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/settings/login_activities_controller.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/controllers/settings/login_activities_controller.rb b/app/controllers/settings/login_activities_controller.rb index 57fa6aef0c..ee77524b13 100644 --- a/app/controllers/settings/login_activities_controller.rb +++ b/app/controllers/settings/login_activities_controller.rb @@ -4,4 +4,10 @@ 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