From 5baaff8082847b2cfb8243fac63a05bfaa1ef35b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magdalena=20Grodzi=C5=84ska?= Date: Tue, 19 Nov 2019 19:35:46 +0100 Subject: Simplify query addressing --- src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/pl') diff --git a/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java b/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java index 56237f0..01a0b94 100644 --- a/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java +++ b/src/main/java/pl/edu/mimuw/cloudatlas/client/ClientController.java @@ -30,7 +30,7 @@ public class ClientController { return "queryForm"; } - @PostMapping("/submitQuery") + @PostMapping("/query") public String submitQuery(@ModelAttribute Query queryObject, Model model) { System.out.println(queryObject.toString()); model.addAttribute("homeMessage", "Query submitted successfully"); -- cgit v1.2.3