Sha256: a8cf67c44f574ffca321b70ced78c3776ec31f6ff95ebcb7bb8387acb6094662
Contents?: true
Size: 895 Bytes
Versions: 3
Compression:
Stored size: 895 Bytes
Contents
# Loading engine only if this is not a standalone installation unless defined? LucyCMS::Application require File.expand_path('LucyCMS/engine', File.dirname(__FILE__)) end [ 'LucyCMS/configuration', 'LucyCMS/rails_extensions', 'LucyCMS/controller_methods', 'LucyCMS/view_hooks', 'LucyCMS/view_methods', 'LucyCMS/form_builder', 'LucyCMS/site_form_builder', 'LucyCMS/acts_as_tree', '../app/models/cms_block', '../app/models/cms_snippet', 'LucyCMS/cms_tag' ].each do |path| require File.expand_path(path, File.dirname(__FILE__)) end Dir.glob(File.expand_path('LucyCMS/cms_tag/*.rb', File.dirname(__FILE__))).each do |tag_path| require tag_path end module LucyCMS class << self def configure yield configuration end def configuration @configuration ||= Configuration.new end alias :config :configuration end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lucy_cms-0.0.3 | lib/LucyCMS.rb |
lucy_cms-0.0.2 | lib/LucyCMS.rb |
lucy_cms-0.0.1 | lib/LucyCMS.rb |