correct exposure of admin controller method for use in JS