API index for cards

This commit is contained in:
David Heinemeier Hansson
2025-12-01 17:20:03 +01:00
committed by Stanko K.R.
parent d384971ea2
commit c65cb77ac4
+3
View File
@@ -0,0 +1,3 @@
json.array! @page.records, partial: "cards/card", as: :card
json.next_page_url cards_path(@board, page: @page.next_param) unless @page.last?