Sha256: 9731f4d53bc86fd30106daa4f203ff92736e59237ed83a714f5089e2568793c7
Contents?: true
Size: 644 Bytes
Versions: 7
Compression:
Stored size: 644 Bytes
Contents
# Loading engine only if this is not a standalone installation unless defined? ComfyBlog::Application require File.expand_path('comfy_blog/engine', File.dirname(__FILE__)) end [ 'comfy_blog/core_ext/string', 'comfy_blog/configuration', 'comfy_blog/form_builder' ].each do |path| require File.expand_path(path, File.dirname(__FILE__)) end module ComfyBlog class << self def configure yield configuration end def configuration @configuration ||= Configuration.new end alias :config :configuration def disqus_enabled? self.config.disqus_shortname.present? end end end
Version data entries
7 entries across 7 versions & 1 rubygems