diff options
author | francis <francis> | 2008-05-18 21:53:15 +0000 |
---|---|---|
committer | francis <francis> | 2008-05-18 21:53:15 +0000 |
commit | c048302b287baf8ea8dc0c6bf080af61fb054f1c (patch) | |
tree | f65235b7946926fabe6dbbe0ed4ebe597fef4e4d /app/helpers/link_to_helper.rb | |
parent | fb056ea565edc94f5e1b81148c98e58b94f080c6 (diff) |
Show more similar requests.
Remove display of requests to same person / authority as overlaps too much anyway.
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rw-r--r-- | app/helpers/link_to_helper.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb index cb4b7e5b6..88ffd790e 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.31 2008-05-15 22:47:16 francis Exp $ +# $Id: link_to_helper.rb,v 1.32 2008-05-18 21:53:16 francis Exp $ module LinkToHelper @@ -24,6 +24,9 @@ module LinkToHelper def request_admin_link(info_request) link_to h(info_request.title), request_admin_url(info_request) end + def request_similar_url(info_request) + return similar_request_url(:url_title => info_request.url_title, :only_path => true) + end # Incoming / outgoing messages def incoming_message_url(incoming_message) |