Sha256: f82a9dd70cac45683b2fe7db4e9a7c48238e0bed402de2d129127b3d7802a58c
Contents?: true
Size: 571 Bytes
Versions: 57
Compression:
Stored size: 571 Bytes
Contents
class AssetsController < ApplicationController protect_from_forgery except: [:theme_stylesheet, :extension_javascript] skip_before_action :authorize_if_private! skip_before_action :validate_user_profile! skip_before_action :validate_accepted_role_terms! skip_before_action :validate_active_organization! 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
Version data entries
57 entries across 57 versions & 1 rubygems