Parcourir la source

Update README.md

Git-Leon il y a 8 ans
Parent
révision
b657f5ae2c
Aucun compte lié à l'adresse email de l'auteur
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      README.md

+ 1
- 1
README.md Voir le fichier

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