Commit aa82032dfbb42da463971581f90398850a8387db
1 parent
9d2d6877
Exists in
relation
and in
1 other branch
Fixed scroll [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/searchkick/relation.rb
@@ -270,7 +270,7 @@ module Searchkick | @@ -270,7 +270,7 @@ module Searchkick | ||
270 | end | 270 | end |
271 | 271 | ||
272 | def scroll(value = nil, &block) | 272 | def scroll(value = nil, &block) |
273 | - spawn.scroll!(value = nil, &block) | 273 | + spawn.scroll!(value, &block) |
274 | end | 274 | end |
275 | 275 | ||
276 | def scroll!(value = nil, &block) | 276 | def scroll!(value = nil, &block) |