aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/track_controller.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-05-12 01:53:41 +0000
committerfrancis <francis>2008-05-12 01:53:41 +0000
commit3223d1fd68312980433caf99d73d5faa0a63b7f0 (patch)
tree5966769609eb679ac31c9b8b71c41cbd8e1654b4 /app/controllers/track_controller.rb
parent88f03dc73549a7072da511e32dae7d63a19c5481 (diff)
Show if already tracking new requests.
Diffstat (limited to 'app/controllers/track_controller.rb')
-rw-r--r--app/controllers/track_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/track_controller.rb b/app/controllers/track_controller.rb
index f1f9c1fd3..416b98e59 100644
--- a/app/controllers/track_controller.rb
+++ b/app/controllers/track_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: track_controller.rb,v 1.10 2008-05-12 01:37:50 francis Exp $
+# $Id: track_controller.rb,v 1.11 2008-05-12 01:53:41 francis Exp $
class TrackController < ApplicationController
@@ -41,7 +41,7 @@ class TrackController < ApplicationController
# Generic request tracker - set @track_thing before calling
def track_set
if @user
- @existing_track = TrackThing.find_by_existing_track(@user.id, @track_thing.track_query)
+ @existing_track = TrackThing.find_by_existing_track(@user, @track_thing.track_query)
if @existing_track
return "already"
end