adding contact form

This commit is contained in:
Karl-Heinz Wild
2025-12-10 19:12:09 +01:00
parent 40df42bfd9
commit 2a0325196f
3 changed files with 32 additions and 1 deletions

View File

@ -6,11 +6,12 @@ Rails.application.routes.draw do
# get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker
resources :parties do
get 'toggle-attendent/:friend_id' => 'parties#toggle_attendent', as: :toggle_attendent
get "toggle-attendent/:friend_id" => "parties#toggle_attendent", as: :toggle_attendent
end
resources :friends
get "pages/:page" => "welcome#pages", as: :pages
post "kontakt-data" => "welcome#contact", as: :contact
root "welcome#index"
end