Aggiunge annunci in-app/sito, contatti e migliora UI copertina sul portale.
Include admin/API/banner nativi, form contatti e reset copertina standard con layout edit più ampio. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -16,6 +16,7 @@ Rails.application.routes.draw do
|
||||
patch "account", to: "accounts#update"
|
||||
patch "account/password", to: "accounts#password"
|
||||
get "sports", to: "sports#index"
|
||||
get "announcements", to: "announcements#index"
|
||||
|
||||
get "invitations/:token", to: "invitations#show"
|
||||
post "invitations/:token/accept", to: "invitations#accept"
|
||||
@@ -84,6 +85,7 @@ Rails.application.routes.draw do
|
||||
|
||||
root to: "dashboard#index"
|
||||
get "metrics", to: "dashboard#metrics"
|
||||
resources :announcements, except: %i[show]
|
||||
resources :ops, only: [:index], controller: "ops" do
|
||||
member do
|
||||
post :acknowledge
|
||||
@@ -170,6 +172,9 @@ Rails.application.routes.draw do
|
||||
get "pallavolo-giovanile", to: "pages#pallavolo", as: :pallavolo
|
||||
get "prezzi", to: "pages#pricing", as: :prezzi
|
||||
get "pricing", to: redirect("/prezzi")
|
||||
get "contatti", to: "contacts#show", as: :contatti
|
||||
post "contatti", to: "contacts#create"
|
||||
get "contact", to: redirect("/contatti")
|
||||
get "privacy", to: "pages#privacy", as: :privacy
|
||||
get "support", to: "pages#support", as: :support
|
||||
get "cookie", to: "pages#cookies", as: :cookies
|
||||
|
||||
Reference in New Issue
Block a user