rooms controller

This commit is contained in:
Lucas Pleß 2012-03-21 01:04:53 +01:00
parent 8b362e1ebc
commit 4f755abce6
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ public class RoomsController {
this.controller = controller; this.controller = controller;
} }
@RequestMapping(value = "/", method = RequestMethod.GET) @RequestMapping(value = "", method = RequestMethod.GET)
public @ResponseBody Collection<Room> getAll() { public @ResponseBody Collection<Room> getAll() {
LOGGER.info("handle GET /rooms/" + " request"); LOGGER.info("handle GET /rooms/" + " request");
return controller.getAllRooms(); return controller.getAllRooms();