Sha256: a32b5aa6ef7f05cefb86c428bc0305b7400eec25fc0ab6bac479d5bf4c887ce1

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

module ControlCenter
  require_relative 'control_center/helpers/layout_helper'
  require_relative 'control_center/helpers/tab_builder'
  require 'control_center/engine' if defined?(Rails)
  
  class Config
    cattr_accessor :app_title
    cattr_accessor :theme_color
    cattr_accessor :custom_css
    cattr_accessor :include_javascript
    
    def self.custom_css
      @@custom_css ||= {}
    end
    
    def self.include_javascript
      @@include_javascript || []
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
control_center-1.0.2 lib/control_center.rb
control_center-1.0.1 lib/control_center.rb