wedding-planner/app/controllers/groups_controller.rb
Manuel Bustillo 452b5b2040
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 45s
Add copyright notice / copyright_notice (pull_request) Successful in 1m47s
Run unit tests / unit_tests (pull_request) Successful in 5m4s
Introduce endpoint to retrieve a summary of groups and invite attendance
2024-11-13 08:57:20 +01:00

8 lines
162 B
Ruby

# Copyright (C) 2024 Manuel Bustillo
class GroupsController < ApplicationController
def index
render json: Groups::SummaryQuery.new.call.as_json
end
end