about summary refs log tree commit diff
path: root/app/controllers/remote_follow_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-09-28 01:33:27 +0200
committerGitHub <noreply@github.com>2019-09-28 01:33:27 +0200
commitde5305a3a5b2c2c3e92f6e92ad8c72742c501e73 (patch)
treee1a29da64cd8a05b63337f7c5fdf1f3c1946e0a0 /app/controllers/remote_follow_controller.rb
parent3ec80c7aec4c95c64c4cafb511610eab5fa31b1e (diff)
Fix redirecting non-functional accounts on public pages (#11978)
Fix #11969
Diffstat (limited to 'app/controllers/remote_follow_controller.rb')
-rw-r--r--app/controllers/remote_follow_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/remote_follow_controller.rb b/app/controllers/remote_follow_controller.rb
index ba963a7a0..db1604644 100644
--- a/app/controllers/remote_follow_controller.rb
+++ b/app/controllers/remote_follow_controller.rb
@@ -7,6 +7,8 @@ class RemoteFollowController < ApplicationController
 
   before_action :set_body_classes
 
+  skip_before_action :require_functional!
+
   def new
     @remote_follow = RemoteFollow.new(session_params)
   end