@ -54,6 +54,7 @@ public class MenuInjector extends RequestInterceptor {
String respType = getRespType(hreq, mav);
if (!isActive(respType)) return;
log().debug("Injecting userMenus...");
List<DataObject> menus = menuService.getUserMenus();
Object resp = respType.startsWith("json") ? menus : toJson(menus);
mav.addObject("userMenus", resp);