From 1ddb4abc704476e56ed97826365a32f21df3c78e Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 28 Sep 2019 01:33:27 +0200 Subject: port tootsuite#11978 to monsterfork: Fix redirecting non-functional accounts on public pages Fix #11969 --- app/controllers/media_controller.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/controllers/media_controller.rb') diff --git a/app/controllers/media_controller.rb b/app/controllers/media_controller.rb index 9dc27c103..abe3cc7f8 100644 --- a/app/controllers/media_controller.rb +++ b/app/controllers/media_controller.rb @@ -4,6 +4,7 @@ class MediaController < ApplicationController include Authorization skip_before_action :store_current_location + skip_before_action :require_functional! before_action :set_media_attachment before_action :verify_permitted_status! -- cgit