aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-22 14:22:26 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-03-22 14:22:26 +1100
commit06c1d5844c7da1f03acb930afe29f6c7221c62ba (patch)
treeca2f048aa657b99b0d19d5632df68f24d007efc1 /app/controllers/request_controller.rb
parent01a8eed6e9aec5b2539ed9afe1d198972d0c96ec (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.rb2
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")