Skip to content

Commit 21fe89e

Browse files
committed
Merge pull request #634 from craiglittle/fix-meta-documentation
Fix meta_key/meta documentation for v0.9.x series
2 parents a848372 + e900843 commit 21fe89e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ The above usage of `:meta` will produce the following:
365365
If you would like to change the meta key name you can use the `:meta_key` option:
366366

367367
```ruby
368-
render json: @posts, serializer: CustomArraySerializer, meta: {total: 10}, meta_key: 'meta_object'
368+
render json: @posts, serializer: CustomArraySerializer, meta_object: {total: 10}, meta_key: 'meta_object'
369369
```
370370

371371
The above usage of `:meta_key` will produce the following:

0 commit comments

Comments
 (0)