Skip to content

Commit

Permalink
fix for wrong params in searchkick synopsis example
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Feb 27, 2019
1 parent 71baf56 commit 964ab24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/extras/searchkick.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require 'pagy/extras/searchkick'
If you have an already paginated `Searchkick::Results` object, you can get the `Pagy` object out of it:

```ruby
@results = Model.search('*', from: 0; size: 10, ...)
@results = Model.search('*', page: 1; per_page: 10, ...)
@pagy = Pagy.new_from_searchkick(@results, ...)
```

Expand Down

0 comments on commit 964ab24

Please sign in to comment.