2017-07-12 02:24:04 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class Form::AdminSettings
|
|
|
|
include ActiveModel::Model
|
|
|
|
|
|
|
|
delegate(
|
|
|
|
:site_contact_username,
|
|
|
|
:site_contact_username=,
|
|
|
|
:site_contact_email,
|
|
|
|
:site_contact_email=,
|
|
|
|
:site_title,
|
|
|
|
:site_title=,
|
|
|
|
:site_description,
|
|
|
|
:site_description=,
|
|
|
|
:site_extended_description,
|
|
|
|
:site_extended_description=,
|
|
|
|
:site_terms,
|
|
|
|
:site_terms=,
|
|
|
|
:open_registrations,
|
|
|
|
:open_registrations=,
|
|
|
|
:closed_registrations_message,
|
|
|
|
:closed_registrations_message=,
|
|
|
|
:open_deletion,
|
|
|
|
:open_deletion=,
|
|
|
|
:timeline_preview,
|
|
|
|
:timeline_preview=,
|
2017-11-19 03:13:57 +00:00
|
|
|
:show_staff_badge,
|
|
|
|
:show_staff_badge=,
|
2017-09-10 08:58:38 +01:00
|
|
|
:bootstrap_timeline_accounts,
|
|
|
|
:bootstrap_timeline_accounts=,
|
2017-11-27 15:07:59 +00:00
|
|
|
:min_invite_role,
|
|
|
|
:min_invite_role=,
|
2017-07-12 02:24:04 +01:00
|
|
|
to: Setting
|
|
|
|
)
|
|
|
|
end
|