Fix custom CSS controller (#11336)

th-downstream
ThibG 5 years ago committed by Eugen Rochko
parent ac154ccc95
commit 978792a112

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

Loading…
Cancel
Save