lib/umlaut_configurable.rb in umlaut-3.0.0alpha8 vs lib/umlaut_configurable.rb in umlaut-3.0.0alpha9

- old
+ new

@@ -94,11 +94,11 @@ # not skip menu, or a ServiceType join obj to skip # menu to that response. # A pretty typical direct-linking setup, excludes queries that come # from citation linker/azlist/opensearch from direct linking. - # AppConfig::Base.skip_resolve_menu = {:service_types => ['fulltext'], + # skip_resolve_menu {:service_types => ['fulltext'], #:services=>['JH_SFX'], :excluded_rfr_ids => ["info:sid/sfxit.com:citation", #'info:sid/umlaut.code4lib.org:citation', #'info:sid/umlaut.code4lib.org:azlist', #'info:sid/umlaut.code4lib.org:opensearch']} # @@ -165,11 +165,11 @@ # need to set this, if you have multiple A-Z profiles configured # and don't want to use the 'default. sfx_az_profile "default" # Use your own custom search view? mention it here. - #search_view = "my_search" + #search_view "my_search" # can set to "_blank" etc. result_link_target nil end @@ -188,24 +188,24 @@ # Umlaut tries to figure out from the SFX knowledge base # which hosts are "SFX controlled", to avoid duplicating SFX # urls with urls from catalog. But sometimes it misses some, or # alternate hostnames for some. Regexps matching against # urls can be included here. Eg, - # AppConfig::Base.additional_sfx_controlled_urls = [ + # additional_sfx_controlled_urls [ # %r{^http://([^\.]\.)*pubmedcentral\.com} # ] - additional_sfx_controlled_urls = [] + additional_sfx_controlled_urls [] # "web.archive.org" is listed in SFX, but that causes suppression # of MARC 856 tags from our catalog pointing to archive.org, which are # being used for some digitized books. We'd like to ignore that archive.org # is in SFX. Same for netlibrary. - #sfx_load_ignore_hosts = [/.*\.archive\.org/, /www\.netlibrary\.com/, 'www.loc.gov'] - sfx_load_ignore_hosts = [] + #sfx_load_ignore_hosts [/.*\.archive\.org/, /www\.netlibrary\.com/, 'www.loc.gov'] + sfx_load_ignore_hosts [] end # Output timing of service execution to logs - log_service_timing = true if Rails.env == "development" + log_service_timing (Rails.env == "development") ##### # Pieces of content on a Resolve page can be declaritively configured. # Here are the defaults. You can add new elements to the resolve_sections