闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
623 B

  1. # frozen_string_literal: true
  2. class Form::AdminSettings
  3. include ActiveModel::Model
  4. delegate(
  5. :site_contact_username,
  6. :site_contact_username=,
  7. :site_contact_email,
  8. :site_contact_email=,
  9. :site_title,
  10. :site_title=,
  11. :site_description,
  12. :site_description=,
  13. :site_extended_description,
  14. :site_extended_description=,
  15. :site_terms,
  16. :site_terms=,
  17. :open_registrations,
  18. :open_registrations=,
  19. :closed_registrations_message,
  20. :closed_registrations_message=,
  21. :open_deletion,
  22. :open_deletion=,
  23. :timeline_preview,
  24. :timeline_preview=,
  25. to: Setting
  26. )
  27. end