Compare commits
2 Commits
622128a29a
...
27ce9cac62
Author | SHA1 | Date | |
---|---|---|---|
27ce9cac62 | |||
0a2cf6a5eb |
@ -9,7 +9,7 @@ class GuestsController < ApplicationController
|
||||
render json: Guest.includes(:group)
|
||||
.left_joins(:group)
|
||||
.order('groups.name' => :asc, name: :asc)
|
||||
.as_json(only: %i[id name status invitation_id], include: { group: { only: %i[id name] } })
|
||||
.as_json(only: %i[id name status], include: { group: { only: %i[id name] } })
|
||||
end
|
||||
|
||||
def create
|
||||
|
@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Copyright (C) 2024-2025 LibreWeddingPlanner contributors
|
||||
|
||||
class InvitationsController < ApplicationController
|
||||
|
Loading…
x
Reference in New Issue
Block a user