Sha256: 24739ca61e8011ebd352930719088762927d72d362adbf00b22749a8053a5839
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
module EuGdpr module ApplicationHelper def render_cookie_consent_banner(options = {}) return unless EuGdpr::Configuration.enable_cookie_consent_banner options.reverse_merge!(:link => eu_gdpr.privacy_policy_path) unless url_for() == eu_gdpr.privacy_policy_path render('eu_gdpr/cookies/consent_banner', options) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_eu_gdpr-0.0.4 | app/helpers/eu_gdpr/application_helper.rb |