Fix login sometimes redirecting to paths that are not pages (#11019)
Fix #11016
This commit is contained in:
@ -3,6 +3,8 @@
|
||||
class MediaController < ApplicationController
|
||||
include Authorization
|
||||
|
||||
skip_before_action :store_current_location
|
||||
|
||||
before_action :set_media_attachment
|
||||
before_action :verify_permitted_status!
|
||||
|
||||
|
Reference in New Issue
Block a user