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.

23 lines
483 B

  1. # frozen_string_literal: true
  2. class AboutController < ApplicationController
  3. before_action :set_body_classes
  4. def index
  5. @description = Setting.site_description
  6. end
  7. def more
  8. @extended_description = Setting.site_extended_description
  9. @contact_account = Account.find_local(Setting.site_contact_username)
  10. @contact_email = Setting.site_contact_email
  11. end
  12. def terms; end
  13. private
  14. def set_body_classes
  15. @body_classes = 'about-body'
  16. end
  17. end