blob: 7f4dcfcfe673162e3627bf82ca44aa8b77254b84 (
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 3.minutes, public: true
render plain: Setting.custom_css || '', content_type: 'text/css'
end
end
|