Manuel Bustillo 88a7785b46
All checks were successful
Run unit tests / unit_tests (pull_request) Successful in 4m56s
Check usage of free licenses / build-static-assets (pull_request) Successful in 38s
Add copyright notice / copyright_notice (pull_request) Successful in 1m28s
Define endpoint to update expenses
2024-11-11 08:08:49 +01:00

15 lines
405 B
Ruby

# Copyright (C) 2024 Manuel Bustillo
Rails.application.routes.draw do
resources :groups, only: :index
resources :guests, only: %i[index update] do
post :bulk_update, on: :collection
end
resources :expenses, only: %i[index update] do
get :summary, on: :collection
end
resources :tables_arrangements, only: %i[index show]
get 'up' => 'rails/health#show', as: :rails_health_check
end