aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/main')
-rw-r--r--juick-server/src/main/java/com/juick/server/api/rss/Feeds.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/rss/Feeds.java b/juick-server/src/main/java/com/juick/server/api/rss/Feeds.java
index 51c32cac..a2d44500 100644
--- a/juick-server/src/main/java/com/juick/server/api/rss/Feeds.java
+++ b/juick-server/src/main/java/com/juick/server/api/rss/Feeds.java
@@ -48,7 +48,7 @@ public class Feeds {
if (user.getUid() > 0) {
List<Integer> mids = messagesService.getUserBlog(user.getUid(), 0, 0);
ModelAndView modelAndView = new ModelAndView();
- modelAndView.setViewName("messages");
+ modelAndView.setViewName("messagesView");
modelAndView.addObject("user", user);
modelAndView.addObject("messages", messagesService.getMessages(mids));
return modelAndView;
@@ -60,14 +60,14 @@ public class Feeds {
public ModelAndView getLast(@RequestParam(value = "hours", required = false, defaultValue = "0") Integer hours) {
List<Integer> mids = messagesService.getLastMessages(hours);
ModelAndView modelAndView = new ModelAndView();
- modelAndView.setViewName("messages");
+ modelAndView.setViewName("messagesView");
modelAndView.addObject("messages", messagesService.getMessages(mids));
return modelAndView;
}
@RequestMapping(value = "/rss/comments", method = RequestMethod.GET)
public ModelAndView getLastReplies(@RequestParam(value = "hours", required = false, defaultValue = "0") Integer hours) {
ModelAndView modelAndView = new ModelAndView();
- modelAndView.setViewName("replies");
+ modelAndView.setViewName("repliesView");
modelAndView.addObject("messages", messagesService.getLastReplies(hours));
return modelAndView;
}