Sha256: d3b775674a1117dfcd03eb2fd43d619a48499ff78a93d957b9f7200401ce7e05
Contents?: true
Size: 931 Bytes
Versions: 2
Compression:
Stored size: 931 Bytes
Contents
module Refinery module Inquiries include ActiveSupport::Configurable config_accessor :show_contact_privacy_link config_accessor :show_phone_number_field config_accessor :show_placeholders config_accessor :send_notifications_for_inquiries_marked_as_spam config_accessor :from_name config_accessor :post_path, :page_path_new, :page_path_thank_you config_accessor :filter_spam, :recaptcha_site_key self.show_contact_privacy_link = true self.show_phone_number_field = true self.show_placeholders = true self.send_notifications_for_inquiries_marked_as_spam = false self.from_name = "no-reply" self.post_path = "/contact" self.page_path_new = "/contact" self.page_path_thank_you = "/contact/thank_you" self.filter_spam = true self.recaptcha_site_key = nil def self.filter_spam config.filter_spam && config.recaptcha_site_key.blank? end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-inquiries-4.0.0 | lib/refinery/inquiries/configuration.rb |
refinerycms-inquiries-3.1.0 | lib/refinery/inquiries/configuration.rb |