Manuel Bustillo 0fb50ea59b
All checks were successful
Add copyright notice / copyright_notice (pull_request) Successful in 58s
Run unit tests / unit_tests (pull_request) Successful in 3m55s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 43m42s
Expose expense summary endpoint
2024-10-28 23:01:46 +01:00

16 lines
392 B
Ruby

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