Add admin custom CSS setting (#8399)

Fix #3894
This commit is contained in:
Eugen Rochko authored and GitHub committed 2018-08-24 04:33:27 +02:00
1 parent 23752639b2
commit a2cabf3f4a
8 files changed
+30 -2

No files matched your search

+10
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