Skip to content

Commit

Permalink
fix typo in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed May 3, 2020
1 parent d7a9f7a commit 7a09bb9
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 @@ -50,7 +50,7 @@ results = Article.pagy_search(params[:q])
This constructor accepts a `Searchkick::Results` as the first argument, plus the usual optional variable hash. It sets the `:items`, `:page` and `:count` pagy variables extracted/calculated out of the `Searchkick::Results` object.

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

Expand Down

0 comments on commit 7a09bb9

Please sign in to comment.