17 lines
503 B
Ruby
Raw Normal View History

2024-10-27 21:42:45 +00:00
# Copyright (C) 2024 Manuel Bustillo
2024-07-11 18:42:31 +02:00
Rails.application.routes.draw do
mount Rswag::Ui::Engine => '/api-docs'
mount Rswag::Api::Engine => '/api-docs'
2024-08-11 16:29:10 +02:00
resources :groups, only: :index
2024-11-17 18:24:43 +01:00
resources :guests, only: %i[index create update destroy] do
post :bulk_update, on: :collection
2024-07-25 10:47:49 +02:00
end
resources :expenses, only: %i[index update] do
2024-10-28 23:01:46 +01:00
get :summary, on: :collection
end
resources :tables_arrangements, only: %i[index show]
2024-07-11 18:42:31 +02:00
get 'up' => 'rails/health#show', as: :rails_health_check
2024-07-11 18:42:31 +02:00
end