Sha256: 13022ddb2a22e2cb28ee108814442b3abd6c081768b9d4b4b4946af23de1e1f8
Contents?: true
Size: 552 Bytes
Versions: 1
Compression:
Stored size: 552 Bytes
Contents
ActionController::Base.send :include, ActionController::DisguiseApplication I18n.load_path += Dir[ File.join(File.dirname(__FILE__), '..', 'locales', '*.{rb,yml}') ] class Disguise class << self attr_accessor :themes_enabled attr_accessor :use_domain_for_themes attr_accessor :theme_path attr_accessor :theme_full_base_path end end # Set defaults Disguise.themes_enabled = true Disguise.use_domain_for_themes = false Disguise.theme_path = 'themes' Disguise.theme_full_base_path = File.join(RAILS_ROOT, Disguise.theme_path)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
disguise-0.3.12 | lib/disguise.rb |