diff options
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rw-r--r-- | app/helpers/link_to_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb index e3e88d8ee..8a36121e8 100644 --- a/app/helpers/link_to_helper.rb +++ b/app/helpers/link_to_helper.rb @@ -5,7 +5,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: link_to_helper.rb,v 1.28 2008-05-12 09:18:45 francis Exp $ +# $Id: link_to_helper.rb,v 1.29 2008-05-12 10:21:35 francis Exp $ module LinkToHelper @@ -89,6 +89,8 @@ module LinkToHelper track_list_url(:view => nil) elsif track_thing.track_type == 'all_successful_requests' track_list_url(:view => 'successful') + elsif track_thing.track_type == 'public_body_updates' + track_public_body_url(:url_name => track_thing.public_body.url_name) else raise "unknown tracking type " + track_thing.track_type end |