Skip to content
Snippets Groups Projects
Commit 664eb12d authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed category deletion

parent e6d989ea
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ public class CategoryController extends BaseController ...@@ -59,7 +59,7 @@ public class CategoryController extends BaseController
model.addAttribute("availableCategories", availableCategories); model.addAttribute("availableCategories", availableCategories);
model.addAttribute("preselectedCategory", categoryService.findByType(CategoryType.NONE)); model.addAttribute("preselectedCategory", categoryService.findByType(CategoryType.NONE));
model.addAttribute("currentCategory", categoryService.findById(ID)); model.addAttribute("currentCategory", categoryService.findById(ID).get());
model.addAttribute("settings", settingsService.getSettings()); model.addAttribute("settings", settingsService.getSettings());
return "categories/categories"; return "categories/categories";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment