Sha256: 23683a5cb13c29bf4ec8aefb3a6835636a214a16884fd536199d981b981c8873

Contents?: true

Size: 726 Bytes

Versions: 2

Compression:

Stored size: 726 Bytes

Contents

require "georgia/version"
require "georgia/paths"
require "georgia/engine"
require "georgia/assets"
require "georgia/indexer"

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 messages media navigation widgets)

  mattr_accessor :indexer
  @@indexer = :solr

  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

2 entries across 2 versions & 1 rubygems

Version Path
georgia-0.7.3 lib/georgia.rb
georgia-0.7.2 lib/georgia.rb