0
0
Fork 0

Fix login sometimes redirecting to paths that are not pages (#11019)

Fix #11016
This commit is contained in:
Eugen Rochko 2019-06-10 12:28:13 +02:00 committed by GitHub
parent 210fa3a94e
commit 8514ef723c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 0 deletions

View file

@ -3,6 +3,8 @@
class MediaProxyController < ApplicationController
include RoutingHelper
skip_before_action :store_current_location
def show
RedisLock.acquire(lock_options) do |lock|
if lock.acquired?