Skip to content

Commit 172500e

Browse files
bugfix
1 parent 04f604e commit 172500e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/woehlke/twitterwall/frontend/controller/HashTagController.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public String getAll(@RequestParam(name= "page" ,defaultValue=""+ FIRST_PAGE_NUM
4949
Pageable pageRequest = new PageRequest(page, twitterwallFrontendProperties.getPageSize(), Sort.Direction.ASC,"text");
5050
Page<HashTag> myPageContent = hashTagService.getAll(pageRequest);
5151
model.addAttribute("myPageContent",myPageContent);
52-
return "/hashtag/all";
52+
return "hashtag/all";
5353
}
5454

5555
@RequestMapping(path="/{text}")
@@ -86,11 +86,11 @@ public String hashTagFromTweetsAndUsers(
8686
model.addAttribute("users", users);
8787
//
8888
log.debug(msg + " READY - DONE");
89-
return "/hashtag/hashtagText";
89+
return "hashtag/hashtagText";
9090
} else {
9191
String msg2 = msg + " parameter ist NOT valid";
9292
log.warn(msg2);
93-
return "/hashtag/hashtagText";
93+
return "hashtag/hashtagText";
9494
}
9595
}
9696

@@ -143,7 +143,7 @@ public String hashTagsOverview(Model model) {
143143
}
144144
model.addAttribute("hashTagsTweets", hashTagsTweets);
145145
model.addAttribute("hashTagsUsers", hashTagsUsers);
146-
return "/hashtag/overview";
146+
return "hashtag/overview";
147147
}
148148

149149
private static final Logger log = LoggerFactory.getLogger(HashTagController.class);

0 commit comments

Comments
 (0)