diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-28 01:33:27 +0200 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-02-20 23:50:46 -0600 |
commit | 1ddb4abc704476e56ed97826365a32f21df3c78e (patch) | |
tree | bb87c749c721caec8a64b46325673492d1c99d19 /app/controllers/media_controller.rb | |
parent | b6c6840ba337ed77d4488dd013098df30100b74f (diff) |
port tootsuite#11978 to monsterfork: Fix redirecting non-functional accounts on public pages
Fix #11969
Diffstat (limited to 'app/controllers/media_controller.rb')
-rw-r--r-- | app/controllers/media_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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! |