Skip to content

Commit

Permalink
Merge pull request #32 from BakhshiMoeez/patch-2
Browse files Browse the repository at this point in the history
Update AdminController.java
  • Loading branch information
NisargPipaliya authored Aug 25, 2024
2 parents 70170ca + be95955 commit 912c388
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public ModelAndView getcategory() {
return mView;
}
}
@RequestMapping(value = "categories",method = RequestMethod.POST)
@PostMapping("/categories")
public String addCategory(@RequestParam("categoryname") String category_name)
{
System.out.println(category_name);
Expand Down

0 comments on commit 912c388

Please sign in to comment.