Allow managing versions of cookies consent
This can be useful when adding a new cookie or making modifications that require asking the user again.
This commit is contained in:
@@ -10,4 +10,8 @@ class Layout::CookiesConsent::BaseComponent < ApplicationComponent
|
||||
def vendors
|
||||
Cookies::Vendor.all
|
||||
end
|
||||
|
||||
def version_name
|
||||
Setting["cookies_consent.version_name"].to_s.strip
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user