From 873828ad2d985220a0aea6b258513a6eaafbe027 Mon Sep 17 00:00:00 2001 From: ThibG Date: Wed, 17 Jul 2019 17:14:25 +0200 Subject: Fix custom CSS controller (#11336) --- app/controllers/custom_css_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') 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 -- cgit