aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/java/com/juick/www/HelpService.java
diff options
context:
space:
mode:
authorGravatar Alexander Alexeev2016-12-11 13:53:59 +0700
committerGravatar Vitaly Takmazov2016-12-11 18:24:38 +0300
commitf9d9f6ac709b0dfe1c1e3f711b2fee6a93f33d42 (patch)
tree123d1f5ed9f18833716ecee48625ae960821b338 /juick-spring-www/src/main/java/com/juick/www/HelpService.java
parent7f9901ea4b435caf4700ac5d34450f62acccd5a5 (diff)
bugfix: wrong help page are shows
Diffstat (limited to 'juick-spring-www/src/main/java/com/juick/www/HelpService.java')
-rw-r--r--juick-spring-www/src/main/java/com/juick/www/HelpService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-spring-www/src/main/java/com/juick/www/HelpService.java b/juick-spring-www/src/main/java/com/juick/www/HelpService.java
index a3bee60a..76b3582d 100644
--- a/juick-spring-www/src/main/java/com/juick/www/HelpService.java
+++ b/juick-spring-www/src/main/java/com/juick/www/HelpService.java
@@ -29,7 +29,7 @@ public class HelpService {
if (canPage(page) && canLang(lang)) {
try {
Path file = Paths.get(helpPath, lang, page);
- String path =file.toString();
+ String path = file.toString();
file = Paths.get(new ClassPathResource(path).getURI());
if (Files.isReadable(file))