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
14 lines
241 B
Ruby
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
|