summaryrefslogtreecommitdiff
path: root/spring-boot/06-form-handling-with-thymeleaf/src
diff options
context:
space:
mode:
Diffstat (limited to 'spring-boot/06-form-handling-with-thymeleaf/src')
-rw-r--r--spring-boot/06-form-handling-with-thymeleaf/src/main/java/com/example/spring/contact/ContactController.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/spring-boot/06-form-handling-with-thymeleaf/src/main/java/com/example/spring/contact/ContactController.java b/spring-boot/06-form-handling-with-thymeleaf/src/main/java/com/example/spring/contact/ContactController.java
index 1a61a39..20c482d 100644
--- a/spring-boot/06-form-handling-with-thymeleaf/src/main/java/com/example/spring/contact/ContactController.java
+++ b/spring-boot/06-form-handling-with-thymeleaf/src/main/java/com/example/spring/contact/ContactController.java
@@ -28,8 +28,6 @@ public class ContactController {
// Do whatever needed with the submitted data here.
// For example, invoke a method in a service/componet bean to send an email to contact person.
- model.addAttribute("contactForm", contactForm);
-
return "contact/result";
}