parent
23752639b2
commit
a2cabf3f4a
8 changed files with 30 additions and 2 deletions
10
app/controllers/custom_css_controller.rb
Normal file
10
app/controllers/custom_css_controller.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue