diff options
author | francis <francis> | 2008-05-12 10:57:43 +0000 |
---|---|---|
committer | francis <francis> | 2008-05-12 10:57:43 +0000 |
commit | 23147aefa11d95482af5dfa24458d8b1267026b0 (patch) | |
tree | 3fd32424039c174f1b2ccccc451d89183f41768b /app/controllers/user_controller.rb | |
parent | f4a292e1b94bad33af6140330151d6e13886ae58 (diff) |
Track requests by a particular user.
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r-- | app/controllers/user_controller.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 5e6d5ba3a..73fbce9d6 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: user_controller.rb,v 1.45 2008-03-25 17:25:09 francis Exp $ +# $Id: user_controller.rb,v 1.46 2008-05-12 10:57:43 francis Exp $ class UserController < ApplicationController # Show page about a set of users with same url name @@ -21,6 +21,9 @@ class UserController < ApplicationController @same_name_users = User.find(:all, :conditions => [ "name = ? and email_confirmed and id <> ?", @display_user.name, @display_user.id ], :order => "created_at") @is_you = !@user.nil? && @user.id == @display_user.id + + # Track corresponding to this page + @track_thing = TrackThing.create_track_for_user(@display_user) end # Login form |