diff options
author | francis <francis> | 2008-04-14 09:32:43 +0000 |
---|---|---|
committer | francis <francis> | 2008-04-14 09:32:43 +0000 |
commit | 222453df3dc02a4c61f6ba46853b3c9b4d0be29a (patch) | |
tree | fab930fcc1d313c44b814ccf429c1afab3d79021 | |
parent | 6578d4c24ced1f8252e5487bb1bbeae25435f7cc (diff) |
Give full URl in email
-rw-r--r-- | app/views/track_mailer/event_digest.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/track_mailer/event_digest.rhtml b/app/views/track_mailer/event_digest.rhtml index 9c8a5ad9a..ee702cb77 100644 --- a/app/views/track_mailer/event_digest.rhtml +++ b/app/views/track_mailer/event_digest.rhtml @@ -20,10 +20,10 @@ extract.gsub!(/\s+/, ' ') if event.event_type == 'response' - url = incoming_message_url(event.incoming_message) + url = main_url(incoming_message_url(event.incoming_message)) main_text += event.info_request.public_body.name + " sent a response to " + event.info_request.user.name elsif event.event_type == 'followup_sent' - url = outgoing_message_url(event.outgoing_message) + url = main_url(outgoing_message_url(event.outgoing_message)) main_text += event.info_request.user.name + " sent a follow up message to " + event.info_request.public_body.name elsif event.event_type == 'sent' # this is unlikely to happen in real life, but happens in the test code |