Sha256: 4c5ca80825bb8cb9f4b8a750cb40ca7d2afd6a0e63b6860c2731b38681b5c9e8

Contents?: true

Size: 817 Bytes

Versions: 3

Compression:

Stored size: 817 Bytes

Contents

require 'ostruct'
require 'yaml'
::GoogleConfig = OpenStruct.new(YAML.load_file("#{::Rails.root.to_s}/config/google.yml")[Rails.env])

Overlord.configure do |config|
  config.google_ajax_api_key = GoogleConfig.google_ajax_api_key  # A google ajax api key - http://code.google.com/apis/ajaxsearch/signup.html
  config.request_referer = GoogleConfig.request_referer          # The url of the site making the request.
  config.show_google_search = true        # Determines whether or not a google search is displayed on the topic page
  config.load_feeds_on_server = false     # Determines whether feeds on a topic page are loaded on the server or the client.  Loading on the server can take a while
  config.combine_feeds_on_server = false  # Combines feeds loaded on the server
  config.google_ad_partner_pub = nil
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
overlord-3.0.2 test/rails_test/config/initializers/overlord.rb
overlord-3.0.1 test/rails_test/config/initializers/overlord.rb
overlord-3.0.0 test/rails_test/config/initializers/overlord.rb