From 55afbe99f5fc083b7566ac5e0e664b6d34206289 Mon Sep 17 00:00:00 2001 From: shawn-higgins1 <23224097+shawn-higgins1@users.noreply.github.com> Date: Thu, 9 May 2019 18:24:58 -0400 Subject: [PATCH] Refactor users.html to only make one db call to get roles (GRN2-121) (#513) * Refactor _users.html to only make one db call to get role * Apply comments --- app/views/shared/admin_settings/_users.html.erb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/app/views/shared/admin_settings/_users.html.erb b/app/views/shared/admin_settings/_users.html.erb index d0fd7347..47140dd5 100644 --- a/app/views/shared/admin_settings/_users.html.erb +++ b/app/views/shared/admin_settings/_users.html.erb @@ -68,15 +68,16 @@