Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @RequestMapping(value ="/location/{id}", method = RequestMethod.GET)
- public @ResponseBody Location getLocationById(@PathVariable("id") long id) {
- return locations.findOne(id);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement