blob: e3f67bd144c32db4a883ec9ee6a98e1083892d23 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
class CustomCssController < ApplicationController
skip_before_action :store_current_location
before_action :set_cache_headers
def show
expires_in 3.minutes, public: true
render plain: Setting.custom_css || '', content_type: 'text/css'
end
end
|