diff options
author | Vitaly Takmazov | 2017-03-03 10:24:29 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-03-03 10:24:29 +0300 |
commit | e214aa621706a6281cab423831f7d722d894a5ab (patch) | |
tree | 6ea1663e2b4ae3914acd5011d18a192275114d50 /juick-www/src/main/java/com/juick/www/controllers | |
parent | 5ec9e5bff67957a796991a363b12d26698584b13 (diff) |
juick-www: fix settings result
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/controllers')
-rw-r--r-- | juick-www/src/main/java/com/juick/www/controllers/Settings.java | 1 |
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"; } } |