|
|
@ -12,7 +12,7 @@ public class AuthorityController extends cokr.xit.base.security.access.web.Autho
|
|
|
|
public ModelAndView main() {
|
|
|
|
public ModelAndView main() {
|
|
|
|
ModelAndView mav = getAuthorityList(new AuthorityQuery().setFetchAll(true));
|
|
|
|
ModelAndView mav = getAuthorityList(new AuthorityQuery().setFetchAll(true));
|
|
|
|
mav.setViewName("base/authority/authority-main");
|
|
|
|
mav.setViewName("base/authority/authority-main");
|
|
|
|
return mav.addObject("authorityList", toJson(mav.getModel().remove("authorityList")));
|
|
|
|
return mav.addObject("authorityList", toJson(mav.getModel().get("authorityList")));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|