aboutsummaryrefslogtreecommitdiffstats
path: root/app/models
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2012-10-03 17:53:38 +1000
committerHenare Degan <henare.degan@gmail.com>2012-10-03 17:53:38 +1000
commit64eb387b83846ead2bbce76c26224533ea24ebc9 (patch)
treee525eb9ef2ad4c36f96f23eb4d65b672199ac711 /app/models
parentbe96333dafd0fa0623ca4495237c8c6fa5457c14 (diff)
Requires admin attention emails should include a full URL to the admin page of the request so you can click it, not just a relative path
Diffstat (limited to 'app/models')
-rw-r--r--app/models/request_mailer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/request_mailer.rb b/app/models/request_mailer.rb
index 3fc6b0471..be0f68417 100644
--- a/app/models/request_mailer.rb
+++ b/app/models/request_mailer.rb
@@ -70,7 +70,7 @@ class RequestMailer < ApplicationMailer
@recipients = contact_from_name_and_email
@subject = _("FOI response requires admin ({{reason}}) - {{title}}", :reason => info_request.described_state, :title => info_request.title)
url = main_url(request_url(info_request))
- admin_url = request_admin_url(info_request)
+ admin_url = main_url(request_admin_url(info_request))
@body = {:reported_by => user, :info_request => info_request, :url => url, :admin_url => admin_url }
end