Skip to content

Commit

Permalink
fix for indents in searchkick doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Feb 27, 2019
1 parent 7061086 commit 05e218c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/extras/searchkick.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ If you have an already paginated `Searchkick::Results` object, you can get the `

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

### Active Mode
Expand Down Expand Up @@ -53,7 +53,7 @@ This constructor accepts an `Searchkick::Results` as the first argument, plus th

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

**Notice**: you have to take care of managing all the params manually. If you prefer to manage the pagination automatically, see below.
Expand Down

0 comments on commit 05e218c

Please sign in to comment.