Skip to content
Snippets Groups Projects
Commit 40c685c5 authored by Robert Schilling's avatar Robert Schilling
Browse files

pass paginated array when deleting notes

parent 63176574
Branches
Tags
1 merge request!3188Add Todos API
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment