Skip to content

Commit d6b1b1c

Browse files
committed
Fix typo
1 parent 93ca27f commit d6b1b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/howto/add_pagination_links.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ ex.
117117
You can also achieve the same result if you have a helper method that adds the pagination info in the meta tag. For instance, in your action specify a custom serializer.
118118

119119
```ruby
120-
render json: @posts, each_serializer: PostPreviewSerializer, meta: meta_attributes(@post)
120+
render json: @posts, each_serializer: PostPreviewSerializer, meta: meta_attributes(@posts)
121121
```
122122

123123
```ruby

0 commit comments

Comments
 (0)