From e214aa621706a6281cab423831f7d722d894a5ab Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 3 Mar 2017 10:24:29 +0300 Subject: juick-www: fix settings result --- juick-www/src/main/java/com/juick/www/controllers/Settings.java | 1 + 1 file changed, 1 insertion(+) (limited to 'juick-www/src/main/java') diff --git a/juick-www/src/main/java/com/juick/www/controllers/Settings.java b/juick-www/src/main/java/com/juick/www/controllers/Settings.java index c7c51820..f7eb8869 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/Settings.java +++ b/juick-www/src/main/java/com/juick/www/controllers/Settings.java @@ -285,6 +285,7 @@ public class Settings { model.addAttribute("title", "Настройки"); model.addAttribute("visitor", visitor); model.addAttribute("result", result); + model.addAttribute("readonly", messagesService.isReadonly()); return "views/settings_result"; } } -- cgit v1.2.3