Module: Postnhost::Settings::SchemaManageable

Extended by:
ActiveSupport::Concern
Includes:
Postnhost::SchemaHelper
Included in:
Postnhost::SettingsController
Defined in:
app/controllers/concerns/postnhost/settings/schema_manageable.rb

Constant Summary collapse

SCHEMA_SETTING_FIELDS =
%w[
  organization_type
  founding_date
  founding_location
  contact_email
  contact_type
  address
  address_city
  address_country
  default_article_type
  coverage_starts_at
  coverage_ends_at
].freeze
SCHEMA_ARRAY_FIELDS =
%w[same_as].freeze

Constants included from Postnhost::SchemaHelper

Postnhost::SchemaHelper::ARTICLE_TYPES, Postnhost::SchemaHelper::AUTHOR_ALUMNI_TYPES, Postnhost::SchemaHelper::CONTACT_TYPES, Postnhost::SchemaHelper::ORGANIZATION_TYPES, Postnhost::SchemaHelper::POLICY_FIELDS, Postnhost::SchemaHelper::SETTINGS_TEXT_OVERRIDE_FIELDS

Method Summary

Methods included from Postnhost::SchemaHelper

#schema_array_to_multiline, #schema_article_type_options, #schema_author_alumni_type_options, #schema_contact_type_options, #schema_multiline_to_array, #schema_organization_type_options, #schema_policy_fields