Files
grecia/app/components/layout/cookies_consent/base_component.rb
taitus dc54fda71b Allow accepting all cookies in consent banner and management component
Create cookie consent "all" when accept all cookies

Set cookie duration to 365 days based on the AEPD's cookie usage guidelines.

Note from the document: "Cookies with a duration of up to 24 months are
considered acceptable as long as they are periodically updated."
Reference: https://www.aepd.es/guias/guia-cookies.pdf
2025-01-23 17:03:30 +01:00

14 lines
241 B
Ruby

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