From 5b591b27b9057b6f194b65adc02be7ad6ec3b39e Mon Sep 17 00:00:00 2001 From: Krzysztof Majewski Date: Fri, 20 Nov 2020 07:39:42 +0100 Subject: [PATCH] BAEL-4225 Thymeleaf Variables --- .../articles/ArticlesController.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/spring-thymeleaf-3/src/main/java/com/baeldung/thymeleaf/articles/ArticlesController.java b/spring-thymeleaf-3/src/main/java/com/baeldung/thymeleaf/articles/ArticlesController.java index 401ef30156..e7c7e9b18d 100644 --- a/spring-thymeleaf-3/src/main/java/com/baeldung/thymeleaf/articles/ArticlesController.java +++ b/spring-thymeleaf-3/src/main/java/com/baeldung/thymeleaf/articles/ArticlesController.java @@ -20,18 +20,18 @@ public class ArticlesController { private List
fetchArticles() { return Arrays.asList( - new Article( - "Introduction to Using Thymeleaf in Spring", - "https://www.baeldung.com/thymeleaf-in-spring-mvc" - ), - new Article( - "Spring Boot CRUD Application with Thymeleaf", - "https://www.baeldung.com/spring-boot-crud-thymeleaf" - ), - new Article( - "Spring MVC Data and Thymeleaf", - "https://www.baeldung.com/spring-mvc-thymeleaf-data" - ) + new Article( + "Introduction to Using Thymeleaf in Spring", + "https://www.baeldung.com/thymeleaf-in-spring-mvc" + ), + new Article( + "Spring Boot CRUD Application with Thymeleaf", + "https://www.baeldung.com/spring-boot-crud-thymeleaf" + ), + new Article( + "Spring MVC Data and Thymeleaf", + "https://www.baeldung.com/spring-mvc-thymeleaf-data" + ) ); } }