Sha256: e134e3915ca1a335363cd74f58cff68b96f9cb2d96df4daea7a44bc13537a9cd
Contents?: true
Size: 1.64 KB
Versions: 1
Compression:
Stored size: 1.64 KB
Contents
# frozen_string_literal: true # Loading engine only if this is not a standalone installation unless defined? Occams::Application require_relative "occams/engine" end require_relative "occams/version" require_relative "occams/error" require_relative "occams/configuration" require_relative "occams/routing" require_relative "occams/access_control/admin_authentication" require_relative "occams/access_control/admin_authorization" require_relative "occams/access_control/public_authentication" require_relative "occams/access_control/public_authorization" require_relative "occams/render_methods" require_relative "occams/view_hooks" require_relative "occams/form_builder" require_relative "occams/seeds" require_relative "occams/seeds/layout/importer" require_relative "occams/seeds/layout/exporter" require_relative "occams/seeds/page/importer" require_relative "occams/seeds/page/exporter" require_relative "occams/seeds/snippet/importer" require_relative "occams/seeds/snippet/exporter" require_relative "occams/seeds/file/importer" require_relative "occams/seeds/file/exporter" require_relative "occams/extensions/acts_as_tree" require_relative "occams/extensions/has_revisions" require_relative "occams/content" module Occams class << self attr_writer :logger # Modify CMS configuration # Example: # Occams.configure do |config| # config.cms_title = 'Occams' # end def configure yield configuration end # Accessor for Occams::Configuration def configuration @configuration ||= Configuration.new end alias config configuration def logger @logger ||= Rails.logger end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
occams-1.0.0 | lib/occams.rb |