We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ee823 commit 714c620Copy full SHA for 714c620
docs/integrations/ember-and-json-api.md
@@ -117,7 +117,7 @@ will generate the path `/posts/{postId}?include='comments'`
117
118
So then in your controller, you'll want to be sure to have something like:
119
```ruby
120
-render json: @post, include: params[:include]
+render jsonapi: @post, include: params[:include]
121
```
122
123
If you want to use `include` on a collection, you'd write something like this:
0 commit comments