Sha256: 5f958588e8c9c78d08463a85e306db667e18a6d5635e7ac4f27b9539dbadc24b

Contents?: true

Size: 773 Bytes

Versions: 1

Compression:

Stored size: 773 Bytes

Contents

require "georgia/version"
require "georgia/paths"
require "georgia/engine"
require "georgia/indexer"
require "georgia/uploader/adapter"

module Georgia

  mattr_accessor :templates
  @@templates = %w(default one-column sidebar-left sidebar-right)

  mattr_accessor :title
  @@title = "Georgia"

  mattr_accessor :url
  @@url = "http://www.example.com"

  mattr_accessor :navigation
  @@navigation = %w(dashboard pages media navigation widgets)

  mattr_accessor :indexer
  @@indexer = :tire

  mattr_accessor :storage
  @@storage = :fog

  def self.setup
    yield self
  end

  class << self
    alias :header :navigation

    def header= value
      ActiveSupport::Deprecation.warn("config.header is deprecated, use config.navigation instead.", caller)
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
georgia-0.7.8 lib/georgia.rb