From 3d4b305b04bb7ff064140b0b5c088585ae6d79fe Mon Sep 17 00:00:00 2001 From: Victor Bjorn Date: Mon, 22 Apr 2019 18:20:04 +0300 Subject: [PATCH] Update README.adoc (#32) Obvious Fix. "properties.title" is not accessible on this step. It should be updated in the end of the guide when "private val properties: BlogProperties" is defined for HtmlController class. --- README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index a71773f..f45a449 100644 --- a/README.adoc +++ b/README.adoc @@ -711,7 +711,7 @@ class HtmlController(private val repository: ArticleRepository) { @GetMapping("/") fun blog(model: Model): String { - model["title"] = properties.title + model["title"] = "Blog" model["articles"] = repository.findAllByOrderByAddedAtDesc().map { it.render() } return "blog" }