allow staff members to view staged accounts user card/profile

This commit is contained in:
Régis Hanol
2015-11-27 20:02:24 +01:00
parent 8c48c12498
commit 16b3d26d7b
4 changed files with 4 additions and 5 deletions

View File

@ -6,7 +6,7 @@ class UserActionsController < ApplicationController
per_chunk = 60
user = fetch_user_from_params
user = fetch_user_from_params(include_inactive: current_user.try(:staff?))
opts = { user_id: user.id,
user: user,