custom_css_controller.rb 225 B

12345678910
  1. # frozen_string_literal: true
  2. class CustomCssController < ApplicationController
  3. before_action :set_cache_headers
  4. def show
  5. skip_session!
  6. render plain: Setting.custom_css || '', content_type: 'text/css'
  7. end
  8. end