18 lines
617 B
Ruby
18 lines
617 B
Ruby
Rails.application.routes.draw do
|
|
get "up" => "rails/health#show", as: :rails_health_check
|
|
|
|
# Render dynamic PWA files from app/views/pwa/* (remember to link manifest in application.html.erb)
|
|
# get "manifest" => "rails/pwa#manifest", as: :pwa_manifest
|
|
# 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
|
|
end
|
|
resources :friends
|
|
|
|
get "pages/:page" => "welcome#pages", as: :pages
|
|
post "kontakt-data" => "welcome#contact", as: :contact
|
|
|
|
root "welcome#index"
|
|
end
|