From d6f1b7b4ef01194594012cefa14e4c33dee057cb Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 11 Apr 2018 13:20:37 +0300 Subject: www: tos is a main help file --- juick-www/src/main/java/com/juick/www/controllers/Help.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-www/src/main/java/com/juick/www') diff --git a/juick-www/src/main/java/com/juick/www/controllers/Help.java b/juick-www/src/main/java/com/juick/www/controllers/Help.java index c11a2865..834cf1c1 100644 --- a/juick-www/src/main/java/com/juick/www/controllers/Help.java +++ b/juick-www/src/main/java/com/juick/www/controllers/Help.java @@ -75,8 +75,8 @@ public class Help { } String content = helpService.getHelp(page, lang); - if (content == null && !Objects.equals("index", page)) - content = helpService.getHelp("index", lang); + if (content == null && !Objects.equals("tos", page)) + content = helpService.getHelp("tos", lang); if (navigation == null) navigation = helpService.getHelp("navigation", lang); -- cgit v1.2.3