Git-Leon 6 anni fa
parent
commit
b657f5ae2c
No account linked to committer's email
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      README.md

+ 1
- 1
README.md Vedi File

@@ -336,7 +336,7 @@ public Iterable<Vote> getAllVotes() {
336 336
 * Create a `getVote` method in the `VoteController`
337 337
 
338 338
 ```java
339
-@RequestMapping(value="/polls/{pollId}/votes", method=RequestMethod.GET)
339
+@RequestMapping(value="/polls/votes", method=RequestMethod.GET)
340 340
 public Iterable<Vote> getVote(@PathVariable Long pollId) {
341 341
 	return voteRepository.findById(pollId);
342 342
 }