Git-Leon пре 7 година
родитељ
комит
8f3cebdee5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      README.md

+ 1
- 1
README.md Прегледај датотеку

@@ -193,7 +193,7 @@ public ResponseEntity<?> getPoll(@PathVariable Long pollId) {
193 193
 * The code snippet below enables us to update a poll.
194 194
 
195 195
 ```java
196
-RequestMapping(value="/polls/{pollId}", method=RequestMethod.PUT)
196
+@RequestMapping(value="/polls/{pollId}", method=RequestMethod.PUT)
197 197
 public ResponseEntity<?> updatePoll(@RequestBody Poll poll, @PathVariable Long pollId) {
198 198
         // Save the entity
199 199
         Poll p = pollRepository.save(poll);