aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-02-15 14:38:20 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-02-15 14:47:03 +1100
commitaeec301ca8516bf89bd0269e760f070e60c0be50 (patch)
tree4c1a21f78f0c2eb6b543727229be903e0807d8b7 /app/helpers
parent472a56bb6d65e84d5c806098dce9a43321a7460c (diff)
Fix incoming_message_url to return an absolute path. Don't use this helper with links
Diffstat (limited to 'app/helpers')
-rwxr-xr-xapp/helpers/link_to_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb
index afd999ea2..bbaa6c31a 100755
--- a/app/helpers/link_to_helper.rb
+++ b/app/helpers/link_to_helper.rb
@@ -36,7 +36,7 @@ module LinkToHelper
# Incoming / outgoing messages
def incoming_message_url(incoming_message, options = {})
- return request_path(incoming_message.info_request, options.merge(:anchor => "incoming-#{incoming_message.id}"))
+ return request_url(incoming_message.info_request, options.merge(:anchor => "incoming-#{incoming_message.id}"))
end
def incoming_message_path(incoming_message)