diff options
author | francis <francis> | 2008-05-12 10:21:34 +0000 |
---|---|---|
committer | francis <francis> | 2008-05-12 10:21:34 +0000 |
commit | f4a292e1b94bad33af6140330151d6e13886ae58 (patch) | |
tree | fa2bdda74123ac82527c39b4e15b49a6ebdae5bf /app/helpers/link_to_helper.rb | |
parent | 47531f990d45f977b4dce03a488085f118ecc219 (diff) |
Track new requests to a particular public authority.
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 |