Files
grecia/app/components/layout/cookies_consent/base_component.rb
2025-01-23 16:48:55 +01:00

10 lines
196 B
Ruby

class Layout::CookiesConsent::BaseComponent < ApplicationComponent
def render?
feature?(:cookies_consent)
end
def more_info_link
Setting["cookies_consent.more_info_link"]
end
end