diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-06-23 12:21:40 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2021-06-23 12:21:40 +0200 |
commit | 979059fbc93664b38b720b369b31beaa89457879 (patch) | |
tree | ea846e21767b1cb2f9f277d3829fbade1f0e46a0 | |
parent | d10d1e5eac5fd48f976b9cb745c033f36c606dbb (diff) |
Fix login date not showing up in login history by using “public” pack
-rw-r--r-- | app/controllers/settings/login_activities_controller.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/settings/login_activities_controller.rb b/app/controllers/settings/login_activities_controller.rb index 57fa6aef0..ee77524b1 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 |