rooms controller
This commit is contained in:
parent
8b362e1ebc
commit
4f755abce6
|
@ -22,7 +22,7 @@ public class RoomsController {
|
|||
this.controller = controller;
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/", method = RequestMethod.GET)
|
||||
@RequestMapping(value = "", method = RequestMethod.GET)
|
||||
public @ResponseBody Collection<Room> getAll() {
|
||||
LOGGER.info("handle GET /rooms/" + " request");
|
||||
return controller.getAllRooms();
|
||||
|
|
Loading…
Reference in New Issue