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
425 B

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