From 4d5b9b2a8027542b59d7327b1bd3fc7397102e4a Mon Sep 17 00:00:00 2001 From: Brendan O'Dea <33368494+shravnk@users.noreply.github.com> Date: Fri, 14 Sep 2018 12:12:34 -0400 Subject: [PATCH] - UserAdminController accepts activeOnly argument (#53) --- .../io/xh/hoist/admin/UserAdminController.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/grails-app/controllers/io/xh/hoist/admin/UserAdminController.groovy b/grails-app/controllers/io/xh/hoist/admin/UserAdminController.groovy index 19465458..dff2779a 100644 --- a/grails-app/controllers/io/xh/hoist/admin/UserAdminController.groovy +++ b/grails-app/controllers/io/xh/hoist/admin/UserAdminController.groovy @@ -16,8 +16,8 @@ class UserAdminController extends BaseController { BaseUserService userService - def index() { - renderJSON(userService.list(false)) + def index(boolean activeOnly) { + renderJSON(userService.list(activeOnly)) } - + }