diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-06-10 12:28:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-10 12:28:13 +0200 |
commit | 8514ef723c3e3963567a9d57bd0d71a5091fc802 (patch) | |
tree | dea7d2bc6c079548945495c130d6373218387dda /app/controllers/custom_css_controller.rb | |
parent | 210fa3a94e18f95a264a20046602db9c5e838479 (diff) |
Fix login sometimes redirecting to paths that are not pages (#11019)
Fix #11016
Diffstat (limited to 'app/controllers/custom_css_controller.rb')
-rw-r--r-- | app/controllers/custom_css_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/custom_css_controller.rb b/app/controllers/custom_css_controller.rb index be768c089..6e80feaf8 100644 --- a/app/controllers/custom_css_controller.rb +++ b/app/controllers/custom_css_controller.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true class CustomCssController < ApplicationController + skip_before_action :store_current_location + before_action :set_cache_headers def show |