~cytrogen/masto-fe

ref: 7fa23ec697e9e2c5f0434b9682de7017133df8dc masto-fe/app/controllers/custom_css_controller.rb -rw-r--r-- 225 bytes
7fa23ec6 — ThibG Fix potential private status leak (#10969) 6 years ago
                                                                                
1
2
3
4
5
6
7
8
9
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