FIX: Mods weren't able to see emails in admin user list

This commit is contained in:
Gerhard Schlager
2019-01-18 15:26:44 +01:00
parent f774f08d5f
commit 457e6c7b37
3 changed files with 12 additions and 3 deletions

View File

@ -34,7 +34,7 @@ class Admin::UsersController < Admin::AdminController
opts = {}
if params[:show_emails] == "true"
StaffActionLogger.new(current_user).log_show_emails(users)
StaffActionLogger.new(current_user).log_show_emails(users, context: request.path)
opts[:emails_desired] = true
end