diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-22 14:22:26 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-22 14:22:26 +1100 |
commit | 06c1d5844c7da1f03acb930afe29f6c7221c62ba (patch) | |
tree | ca2f048aa657b99b0d19d5632df68f24d007efc1 /app/controllers/request_controller.rb | |
parent | 01a8eed6e9aec5b2539ed9afe1d198972d0c96ec (diff) |
Posted reason and message gets sent out in the email
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index dc8db4ab1..a018d76c9 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -689,7 +689,7 @@ class RequestController < ApplicationController ) if !info_request.attention_requested - info_request.set_described_state('attention_requested', @user) + info_request.set_described_state('attention_requested', @user, "Reason: #{params[:reason]}\n\n#{params[:message]}") info_request.attention_requested = true # tells us if attention has ever been requested info_request.save! flash[:notice] = _("This request has been reported for administrator attention") |