aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/general_controller.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-05-15 22:47:16 +0000
committerfrancis <francis>2008-05-15 22:47:16 +0000
commitcac4f2bb8a71c19ab74820c051bb1b2c6ce5a08e (patch)
treefe6f7dd4679078e02dce50de066302286c38b6c1 /app/controllers/general_controller.rb
parenteb04710bf6c54a7ae78978cceef278a48ceea268 (diff)
Track things for arbitary search queries.
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r--app/controllers/general_controller.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb
index 3c94940dd..aafd76ff3 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -5,7 +5,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: general_controller.rb,v 1.23 2008-05-15 17:40:43 francis Exp $
+# $Id: general_controller.rb,v 1.24 2008-05-15 22:47:16 francis Exp $
class GeneralController < ApplicationController
@@ -73,6 +73,8 @@ class GeneralController < ApplicationController
# Spelling and highight words are same for all three queries
@spelling_correction = @xapian_requests.spelling_correction
@highlight_words = @xapian_requests.words_to_highlight
+
+ @track_thing = TrackThing.create_track_for_search_query(query)
end
# For debugging