Commit 40c685c5 authored by Robert Schilling's avatar Robert Schilling

pass paginated array when deleting notes

parent 63176574
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment