aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/link_to_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rw-r--r--app/helpers/link_to_helper.rb5
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)