0
0
Fork 0

Remove previous landing page (#19300)

This commit is contained in:
Eugen Rochko 2022-10-06 02:19:45 +02:00 committed by GitHub
parent 5fd46dddd7
commit 58d5b28cb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 8 additions and 210 deletions

View file

@ -5,16 +5,13 @@ class AboutController < ApplicationController
layout 'public'
before_action :require_open_federation!, only: [:show, :more]
before_action :require_open_federation!, only: [:more]
before_action :set_body_classes, only: :show
before_action :set_instance_presenter
before_action :set_expires_in, only: [:more]
before_action :set_registration_form_time, only: :show
skip_before_action :require_functional!, only: [:more]
def show; end
def more
flash.now[:notice] = I18n.t('about.instance_actor_flash') if params[:instance_actor]