aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main')
-rw-r--r--juick-www/src/main/java/com/juick/www/controllers/Settings.java1
1 files changed, 1 insertions, 0 deletions
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";
}
}