Browse Source

Fix custom CSS controller (#11336)

master
ThibG 5 years ago
committed by Eugen Rochko
parent
commit
873828ad2d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/custom_css_controller.rb

+ 1
- 1
app/controllers/custom_css_controller.rb View File

@ -6,7 +6,7 @@ class CustomCssController < ApplicationController
before_action :set_cache_headers before_action :set_cache_headers
def show def show
expires 3.minutes, public: true
expires_in 3.minutes, public: true
render plain: Setting.custom_css || '', content_type: 'text/css' render plain: Setting.custom_css || '', content_type: 'text/css'
end end
end end

Loading…
Cancel
Save