闭社主体 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.

27 lines
469 B

  1. # frozen_string_literal: true
  2. class AboutController < ApplicationController
  3. before_action :set_body_classes
  4. before_action :set_instance_presenter, only: [:show, :more]
  5. def show; end
  6. def more; end
  7. def terms; end
  8. private
  9. def new_user
  10. User.new.tap(&:build_account)
  11. end
  12. helper_method :new_user
  13. def set_instance_presenter
  14. @instance_presenter = InstancePresenter.new
  15. end
  16. def set_body_classes
  17. @body_classes = 'about-body'
  18. end
  19. end