Skip to content

Commit 46c1992

Browse files
author
Ferenc Hammerl
committed
Correct list endpoint url path
1 parent e7a7487 commit 46c1992

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/fhammerl/polls/controllers/PollsController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public class PollsController {
1515
private PollRepository pollRepository;
1616

1717
@GetMapping
18+
@RequestMapping("list")
1819
public List<Poll> list() {
1920
return pollRepository.findAll();
2021
}

0 commit comments

Comments
 (0)