Fix login date not showing up in login history by using “public” pack

rebase/4.0.0rc2
Claire 2021-06-23 12:21:40 +02:00
parent d10d1e5eac
commit 979059fbc9
1 changed files with 6 additions and 0 deletions

View File

@ -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