Skip to content

Commit 08250e2

Browse files
bugfix
1 parent 43e5d3b commit 08250e2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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);

src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ spring:
4343
max-active: 50
4444
max-wait: 10000
4545
test-on-borrow: true
46-
url: ${JDBC_DATABASE_URL}
46+
url: ${DATABASE_URL}
4747
devtools:
4848
livereload:
4949
enabled: false

0 commit comments

Comments
 (0)