class AssetsController < ApplicationController protect_from_forgery except: [:theme_stylesheet, :extension_javascript] skip_before_action :authorize_if_private! skip_before_action :validate_user_profile! def theme_stylesheet render inline: Organization.current.theme_stylesheet.to_s, content_type: 'text/css' end def extension_javascript render inline: Organization.current.extension_javascript.to_s, content_type: 'text/javascript' end end