Module: Postnhost::Users::SchemaManageable

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

Constant Summary collapse

USER_SCHEMA_PROFILE_FIELDS =
%w[
  same_as
  image_url
  knows_language
  alumni_type
].freeze
USER_SCHEMA_TEXT_FIELDS =
%w[
  name
  job_title
  bio
  knows_about
  alumni_of
  awards
].freeze

Constants included from SchemaHelper

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

Method Summary

Methods included from 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