Skip to content

Commit

Permalink
Merge 5e51364 into f824521
Browse files Browse the repository at this point in the history
  • Loading branch information
Harwood committed Mar 14, 2019
2 parents f824521 + 5e51364 commit 2a47226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ class Comment::API < Grape::API
end
```

Assuming that the post and comment endpoints are mounted in `/posts` and `/comments`, you should now be able to do `get /posts/votes`, `post /posts/votes`, `get /comments/votes`.
Assuming that the post and comment endpoints are mounted in `/posts` and `/comments`, you should now be able to do `get /posts/votes`, `post /posts/votes`, `get /comments/votes` and `post /comments/votes`.

### Mount Configuration

Expand Down

0 comments on commit 2a47226

Please sign in to comment.