diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-25 16:22:06 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-25 16:22:06 +1100 |
commit | 7330ad14103642fb8c13707fe4ce61f67ab649cf (patch) | |
tree | 0582a1fa4e550f06d91cbb97f1e17160485f6e29 /app/controllers/general_controller.rb | |
parent | b340c98efcdf41a3c189631e4af5042d507ecf4d (diff) |
ActsAsXapian doesn't need to be referenced from the global namespace
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r-- | app/controllers/general_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb index 83f890077..53cf58170 100644 --- a/app/controllers/general_controller.rb +++ b/app/controllers/general_controller.rb @@ -160,7 +160,7 @@ class GeneralController < ApplicationController # structured query which should show newest first, rather than a free text search # where we want most relevant as default. begin - dummy_query = ::ActsAsXapian::Search.new([InfoRequestEvent], @query, :limit => 1) + dummy_query = ActsAsXapian::Search.new([InfoRequestEvent], @query, :limit => 1) rescue => e flash[:error] = "Your query was not quite right. " + CGI.escapeHTML(e.to_str) redirect_to search_url("") |