diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2016-06-15 16:06:38 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2016-07-01 10:49:34 +0200 |
commit | 40c685c510fff48e0dc6a49c61704e8244ec6034 (patch) | |
tree | 7ec1cdead86bda0182047f675e6caa1ee2e835bb /lib/api/todos.rb | |
parent | 631765748ebff2307a078dc6d50ef8367f3c5ff0 (diff) | |
download | gitlab-ce-40c685c510fff48e0dc6a49c61704e8244ec6034.tar.gz |
pass paginated array when deleting notes
Diffstat (limited to 'lib/api/todos.rb')
-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 |