Permalink
Browse files

Add search prefix to configuration lookup.

  • Loading branch information...
1 parent b74d47f commit 2df0c9c4b8a3eab70657708677cc73c5fd1158cb @scotdalton scotdalton committed Sep 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/search_controller.rb
@@ -288,13 +288,13 @@ def context_object_from_params
end
def search_method_module
- umlaut_config.lookup!("az_search_method", SearchMethods::Sfx4)
+ umlaut_config.lookup!("search.az_search_method", SearchMethods::Sfx4)
end
# sfx a-z profile as defined in config, used for direct db connections
# to sfx.
def sfx_az_profile
- umlaut_config.lookup!("sfx_az_profile", "default")
+ umlaut_config.lookup!("search.sfx_az_profile", "default")
end
helper_method :sfx_az_profile

0 comments on commit 2df0c9c

Please sign in to comment.