Fix custom CSS controller (#11336)

rebase/4.0.0rc2
ThibG 2019-07-17 17:14:25 +02:00 committed by Eugen Rochko
parent 5599caef49
commit 873828ad2d
1 changed files with 1 additions and 1 deletions

View File

@ -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