about summary refs log tree commit diff
path: root/app/controllers/media_proxy_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-06-10 12:28:13 +0200
committerGitHub <noreply@github.com>2019-06-10 12:28:13 +0200
commit8514ef723c3e3963567a9d57bd0d71a5091fc802 (patch)
treedea7d2bc6c079548945495c130d6373218387dda /app/controllers/media_proxy_controller.rb
parent210fa3a94e18f95a264a20046602db9c5e838479 (diff)
Fix login sometimes redirecting to paths that are not pages (#11019)
Fix #11016
Diffstat (limited to 'app/controllers/media_proxy_controller.rb')
-rw-r--r--app/controllers/media_proxy_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/media_proxy_controller.rb b/app/controllers/media_proxy_controller.rb
index d820b257e..950cf6d09 100644
--- a/app/controllers/media_proxy_controller.rb
+++ b/app/controllers/media_proxy_controller.rb
@@ -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?