From 59fd361edab0f28991e9ded0c87ed70b7011001c Mon Sep 17 00:00:00 2001 From: Alexander Alexeev Date: Mon, 12 Dec 2016 19:44:06 +0700 Subject: no need to add visitor to model --- .../src/main/java/com/juick/www/controllers/SettingsController.java | 1 - 1 file changed, 1 deletion(-) (limited to 'juick-spring-www/src/main/java/com/juick/www/controllers/SettingsController.java') diff --git a/juick-spring-www/src/main/java/com/juick/www/controllers/SettingsController.java b/juick-spring-www/src/main/java/com/juick/www/controllers/SettingsController.java index d150d71e..e7319fb9 100644 --- a/juick-spring-www/src/main/java/com/juick/www/controllers/SettingsController.java +++ b/juick-spring-www/src/main/java/com/juick/www/controllers/SettingsController.java @@ -76,7 +76,6 @@ public class SettingsController { page = "main"; } context.put("title", "Настройки"); - context.put("visitor", visitor); context.put("tags", tagService.getPopularTags()); context.put("auths", userService.getAuthCodes(visitor)); context.put("eopts", userService.getEmailOpts(visitor)); -- cgit v1.2.3