about summary refs log tree commit diff
path: root/app/controllers/custom_css_controller.rb
blob: 6e80feaf837fac3c21d8ef8fd2c0b6f31d0c5b12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class CustomCssController < ApplicationController
  skip_before_action :store_current_location

  before_action :set_cache_headers

  def show
    render plain: Setting.custom_css || '', content_type: 'text/css'
  end
end