Compare commits

..

No commits in common. "27ce9cac62571992fe10114498bbaa8f0af88438" and "622128a29a475da66c738db6cda7a27c1c95b505" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View File

@ -9,7 +9,7 @@ class GuestsController < ApplicationController
render json: Guest.includes(:group) render json: Guest.includes(:group)
.left_joins(:group) .left_joins(:group)
.order('groups.name' => :asc, name: :asc) .order('groups.name' => :asc, name: :asc)
.as_json(only: %i[id name status], include: { group: { only: %i[id name] } }) .as_json(only: %i[id name status invitation_id], include: { group: { only: %i[id name] } })
end end
def create def create

View File

@ -1,5 +1,3 @@
# frozen_string_literal: true
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors # Copyright (C) 2024-2025 LibreWeddingPlanner contributors
class InvitationsController < ApplicationController class InvitationsController < ApplicationController