From: Kai Moritz Date: Tue, 21 Jan 2020 20:48:41 +0000 (+0100) Subject: WIP X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=b117f11270e87ea16d3ca5aa78582c558f5a6472;p=demos%2Fspring-boot WIP --- 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);