From b117f11270e87ea16d3ca5aa78582c558f5a6472 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 21 Jan 2020 21:48:41 +0100 Subject: [PATCH] WIP --- src/main/java/de/juplo/demo/DemoController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/juplo/demo/DemoController.java b/src/main/java/de/juplo/demo/DemoController.java index da09321..88ca230 100644 --- a/src/main/java/de/juplo/demo/DemoController.java +++ b/src/main/java/de/juplo/demo/DemoController.java @@ -54,7 +54,7 @@ public class DemoController return "form"; } - @RequestMapping(path = "/", params = { "card!=add", "!add", "!remove" }) + @RequestMapping(path = "/", params = { "card", "!add", "!remove" }) public String removeCard(@ModelAttribute Form form, @RequestParam Integer card) { Map content = form.cards.remove(card); -- 2.20.1