diff options
author | francis <francis> | 2009-03-05 19:09:46 +0000 |
---|---|---|
committer | francis <francis> | 2009-03-05 19:09:46 +0000 |
commit | 1d0bb50fd3dac805456083e9f8fc0adf93bebf16 (patch) | |
tree | b914f72420e06d5f14472f320416ef08062fa413 /app/controllers/user_controller.rb | |
parent | 86e02361a2e4c40626b431e0340218baa2bd9b63 (diff) |
Button to delete all tracks of a particular type.
Diffstat (limited to 'app/controllers/user_controller.rb')
-rw-r--r-- | app/controllers/user_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index 5196096ef..a443d3e7d 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.61 2009-03-03 22:37:58 francis Exp $ +# $Id: user_controller.rb,v 1.62 2009-03-05 19:09:47 francis Exp $ class UserController < ApplicationController # Show page about a user @@ -46,7 +46,7 @@ class UserController < ApplicationController # All tracks for the user if @is_you @track_things = TrackThing.find(:all, :conditions => ["tracking_user_id = ? and track_medium = ?", @display_user.id, 'email_daily'], :order => 'created_at desc') - @track_things_grouped = @track_things.group_by(&:track_type_description) + @track_things_grouped = @track_things.group_by(&:track_type) end # Requests you need to describe |