Beispiel #1
0
 public String editPost(Map<String, Object> model, @RequestParam Long id, Project project) {
   //
   List<BlogCategory> blogCategories = categoryService.getBlogCategories(project.getId());
   model.put("blogCategories", blogCategories);
   //
   return "modules/admin/blog/post-edit";
 }
Beispiel #2
0
 public String editCategory(Map<String, Object> model, Project project) {
   //
   List<BlogCategory> blogCategories = categoryService.getBlogCategories(project.getId());
   model.put("blogCategories", blogCategories);
   //
   return "modules/admin/blog/category-edit";
 }