class Enjoy::Faq::Configuration

Attributes

author_name_required[RW]
captcha_error_message[RW]
default_answer_author_name[RW]
localize[RW]
recaptcha_support[RW]
save_with_captcha[RW]
seo_support[RW]
simple_captcha_support[RW]

Public Class Methods

new() click to toggle source
# File lib/enjoy/faq/configuration.rb, line 29
def initialize
  @author_name_required = true

  @default_answer_author_name  = "Администрация сайта"

  @save_with_captcha = true
  @captcha_error_message = "Код с картинки введен неверно"

  @recaptcha_support = defined?(Recaptcha)
  @simple_captcha_support = defined?(SimpleCaptcha)

  @seo_support = defined?(Enjoy::Seo)

  @breadcrumbs_on_rails_support = defined?(BreadcrumbsOnRails)

  @localize = Enjoy.config.localize
end