Define and seed an invitation model and controller #224

Merged
bustikiller merged 12 commits from invitations into main 2025-06-01 18:36:50 +00:00
Showing only changes of commit 622128a29a - Show all commits

View File

@ -1,3 +1,5 @@
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
class InvitationsController < ApplicationController
def index
render json: Invitation.includes(:guests).as_json(