From 9acc7966a8d1f2ff87f36b539d404e5525ee8f8c Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Tue, 11 Sep 2018 10:54:33 +0200 Subject: [PATCH] fix --- blog/controllers/PostController.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/blog/controllers/PostController.lua b/blog/controllers/PostController.lua index 6559642..52ad80a 100644 --- a/blog/controllers/PostController.lua +++ b/blog/controllers/PostController.lua @@ -159,9 +159,10 @@ function PostController:analyse(n) self.analytical:create(record) end end - self.template:set(message, "Analyse complete") + self.template:set("message", "Analyse complete") else - self.template:set(message, "Cannot analyse") + self.template:set("message", "Cannot analyse") end + self.template:set("title", "TFIDF-analyse") return true end