0
0
Fork 0

Add admin custom CSS setting (#8399)

Fix #3894
This commit is contained in:
Eugen Rochko 2018-08-24 04:33:27 +02:00 committed by GitHub
parent 23752639b2
commit a2cabf3f4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 30 additions and 2 deletions

View file

@ -0,0 +1,10 @@
# frozen_string_literal: true
class CustomCssController < ApplicationController
before_action :set_cache_headers
def show
skip_session!
render plain: Setting.custom_css || '', content_type: 'text/css'
end
end