提交 40c685c5 编写于 作者: R Robert Schilling

pass paginated array when deleting notes

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册