Files

25 lines
877 B
Ruby
Raw Permalink Normal View History

2024-08-04 07:06:03 +02:00
Rails.application.routes.draw do
2025-08-19 07:24:18 +02:00
get '/login', to: 'sessions#new'
post '/login', to: 'sessions#create'
delete '/logout', to: 'sessions#destroy'
2025-02-17 19:12:40 +01:00
root "reservations#index"
2025-02-27 07:45:54 +01:00
resources :customers, param: :composite_key do
get :search, on: :collection
end
2024-08-06 14:16:40 +02:00
resources :reservations
2025-02-17 19:12:40 +01:00
resources :teams
2024-08-04 07:06:03 +02:00
resources :companies
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
# Can be used by load balancers and uptime monitors to verify that the app is live.
get "up" => "rails/health#show", as: :rails_health_check
2025-08-19 07:24:18 +02:00
# config/routes.rb
2025-05-28 17:23:07 +02:00
get "/service-worker.js" => "service_worker#service_worker"
get "/manifest.json" => "service_worker#manifest"
2024-08-04 07:06:03 +02:00
# Defines the root path route ("/")
# root "posts#index"
end