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>
43 lines
628 B
Ruby
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
|