Merge branch 'BAEL-1982' of https://github.com/neerajnyd/tutorials into BAEL-1982
This commit is contained in:
commit
1fafe77523
@ -45,7 +45,7 @@ public class FooController {
|
|||||||
.setName("Foo Name")
|
.setName("Foo Name")
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(method = RequestMethod.POST, value = "/foos/new")
|
@RequestMapping(method = RequestMethod.POST, value = "/foos/new")
|
||||||
@ResponseStatus(HttpStatus.OK)
|
@ResponseStatus(HttpStatus.OK)
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@ -59,4 +59,5 @@ public class FooController {
|
|||||||
public long deleteFoo(@PathVariable final long id) {
|
public long deleteFoo(@PathVariable final long id) {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user