Pārlūkot izejas kodu

Update README.md

Git-Leon 8 gadus atpakaļ
vecāks
revīzija
b657f5ae2c
Revīzijas autora e-pasts nav piesaistīts nevienam kontam
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      README.md

+ 1
- 1
README.md Parādīt failu

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
 }