about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-17 17:14:25 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-07-17 17:14:25 +0200
commit873828ad2d985220a0aea6b258513a6eaafbe027 (patch)
tree4f1ca1e897d5d4bb50e7db37051907dc137dc316
parent5599caef49962ec62c8a557273f4eebb0f94767e (diff)
Fix custom CSS controller (#11336)
-rw-r--r--app/controllers/custom_css_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/custom_css_controller.rb b/app/controllers/custom_css_controller.rb
index 7f4dcfcfe..e3f67bd14 100644
--- a/app/controllers/custom_css_controller.rb
+++ b/app/controllers/custom_css_controller.rb
@@ -6,7 +6,7 @@ class CustomCssController < ApplicationController
   before_action :set_cache_headers
 
   def show
-    expires 3.minutes, public: true
+    expires_in 3.minutes, public: true
     render plain: Setting.custom_css || '', content_type: 'text/css'
   end
 end