lib/gummi/repository/result.rb in gummi-0.0.8 vs lib/gummi/repository/result.rb in gummi-0.0.9

- old
+ new

@@ -15,10 +15,10 @@ @page = page end def records entities = Array(@repository.to_entity_from_db(@db_records)) if @db_records - Leaflet::Collection.new entities, {per_page: @per_page, current_page: @page, total_entries: total} + Leaflet::Collection.new entities, per_page: @per_page, page: @page, total: total end end end end \ No newline at end of file