diff options
author | francis <francis> | 2008-08-13 01:39:40 +0000 |
---|---|---|
committer | francis <francis> | 2008-08-13 01:39:40 +0000 |
commit | f211952e017aeda47d5ddbdd0119ca76395af881 (patch) | |
tree | 56c988daf667f12f3f47c3d661d2cacb910957b6 /app/helpers/link_to_helper.rb | |
parent | 863c578c0913dfe8c85a99e59fb23ee0ca66fa8a (diff) |
Most of comments code.
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 b255885cb..96e489e26 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.35 2008-08-07 00:24:51 francis Exp $ +# $Id: link_to_helper.rb,v 1.36 2008-08-13 01:39:41 francis Exp $ module LinkToHelper @@ -35,6 +35,9 @@ module LinkToHelper def outgoing_message_url(outgoing_message) return request_url(outgoing_message.info_request)+"#outgoing-"+outgoing_message.id.to_s end + def comment_url(comment) + return request_url(comment.info_request)+"#comment-"+comment.id.to_s + end # Public bodies def public_body_url(public_body) |