Files
MatchLiveTv/backend/app/controllers/public/pages_controller.rb
Emiliano Frascaro 565bc2c548 Aggiunge cookie policy, banner consenso e Google Analytics opzionale.
Il banner consente solo necessari o tutti i cookie; GA4 si carica solo dopo
consenso. Aggiornati privacy, footer, sitemap e variabile GOOGLE_ANALYTICS_MEASUREMENT_ID.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-03 08:00:30 +02:00

43 lines
628 B
Ruby

module Public
class PagesController < WebBaseController
def home
end
def features
end
def pricing
@plans = Plan.ordered
load_club_billing_context_for_pricing
end
private
def load_club_billing_context_for_pricing
return unless logged_in?
@club = current_user.primary_club
return unless @club
@subscription = @club.subscription
@team = @club.teams.order(:name).first
@entitlements = @team&.entitlements
end
def privacy
end
def terms
end
def cookies
end
def faq
end
def pallavolo
end
end
end