private LastMiniNewsDao lastMiniNewsDao;
@Override
@RequestMapping("/lastMiniNews.boxlet")
protected ModelAndView getData(HttpServletRequest request) {
Profile profile = Template.getTemplate(request).getProf();
Map<String, Object> params = new HashMap<>();
params.put("topics", lastMiniNewsDao.getTopics(profile.getMessages()));
return new ModelAndView("boxlets/lastMiniNews", params);
}