From 97cfee78866cff1dd3c0f808c8896a0243400807 Mon Sep 17 00:00:00 2001 From: "zyn on thu.closed.social" Date: Sat, 22 Feb 2020 16:38:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BD=E5=90=8D=E5=8D=95=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B=E4=BB=8D=E7=84=B6=E6=8F=90=E4=BE=9Babout=20=20about/m?= =?UTF-8?q?ore=20=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/about_controller.rb | 2 +- app/controllers/home_controller.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/about_controller.rb b/app/controllers/about_controller.rb index abd1ec0cb..10fb4ffb6 100644 --- a/app/controllers/about_controller.rb +++ b/app/controllers/about_controller.rb @@ -3,7 +3,7 @@ class AboutController < ApplicationController layout 'public' - before_action :require_open_federation!, only: [:show, :more] +# before_action :require_open_federation!, only: [:show, :more] before_action :set_body_classes, only: :show before_action :set_instance_presenter before_action :set_expires_in, only: [:show, :more, :terms] diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 7c8a18d17..e56b0d58d 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -39,7 +39,7 @@ class HomeController < ApplicationController end def default_redirect_path - if request.path.start_with?('/web') || whitelist_mode? + if request.path.start_with?('/web') # || whitelist_mode? new_user_session_path elsif single_user_mode? short_account_path(Account.local.without_suspended.where('id > 0').first)