Fix login sometimes redirecting to paths that are not pages (#11019)
Fix #11016
This commit is contained in:
parent
210fa3a94e
commit
8514ef723c
4 changed files with 8 additions and 0 deletions
|
@ -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!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue