diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-06-15 17:06:38 +0300 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-07-01 11:49:34 +0300 |
commit | 40c685c510fff48e0dc6a49c61704e8244ec6034 (patch) | |
tree | 7ec1cdead86bda0182047f675e6caa1ee2e835bb /lib | |
parent | 631765748ebff2307a078dc6d50ef8367f3c5ff0 (diff) |
pass paginated array when deleting notes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/todos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/todos.rb b/lib/api/todos.rb index db1f16cec59..10fd2aac092 100644 --- a/lib/api/todos.rb +++ b/lib/api/todos.rb @@ -47,7 +47,7 @@ module API todos = find_todos todos.each(&:done) - present paginate(todos), with: Entities::Todo + present paginate(Kaminari.paginate_array(todos)), with: Entities::Todo end end end |