diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-04-02 12:50:52 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-04-02 12:50:52 +1100 |
commit | 4b0e6c09fc407f886ca3eb5cef8a09e05c984978 (patch) | |
tree | d38d3b2a274556c3f566ddb13faa824828feb189 /app/helpers/link_to_helper.rb | |
parent | dc71db3f98c64fb93ac7d74b8a424f7849a33786 (diff) |
Use full urls in outgoing_message_url as the name implies
Diffstat (limited to 'app/helpers/link_to_helper.rb')
-rwxr-xr-x | app/helpers/link_to_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/link_to_helper.rb b/app/helpers/link_to_helper.rb index dc5c8f34e..3f59c55ca 100755 --- a/app/helpers/link_to_helper.rb +++ b/app/helpers/link_to_helper.rb @@ -36,7 +36,7 @@ module LinkToHelper end def outgoing_message_url(outgoing_message, options = {}) - return request_path(outgoing_message.info_request, options.merge(:anchor => "outgoing-#{outgoing_message.id}")) + request_url(outgoing_message.info_request, options.merge(:anchor => "outgoing-#{outgoing_message.id}")) end def outgoing_message_path(outgoing_message) |