Manuel Bustillo 810d0740f3
All checks were successful
Check usage of free licenses / build-static-assets (pull_request) Successful in 44s
Add copyright notice / copyright_notice (pull_request) Successful in 2m30s
Run unit tests / unit_tests (pull_request) Successful in 6m1s
Define an endpoint to expose the list of expenses
2024-11-10 20:40:37 +01:00

16 lines
406 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, only: :index do
get :summary, on: :collection
end
resources :tables_arrangements, only: [:index, :show]
get 'up' => 'rails/health#show', as: :rails_health_check
end