diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-05-22 17:49:59 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-05-22 17:49:59 +0100 |
commit | 15418b4f0aebb31643300e75c9c68e0e71a90560 (patch) | |
tree | a1d061fac0994b39e99df570e14b29c8f088331b /app/controllers/admin_outgoing_message_controller.rb | |
parent | 5116263e02fce228f9d1006945cb311829a7b586 (diff) | |
parent | 7b2757e7be4ae2ddf0fa7cb694faf5799340f003 (diff) |
Merge remote-tracking branch 'jpmckinney_github/parentheses' into rails-3-develop
Diffstat (limited to 'app/controllers/admin_outgoing_message_controller.rb')
-rw-r--r-- | app/controllers/admin_outgoing_message_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/admin_outgoing_message_controller.rb b/app/controllers/admin_outgoing_message_controller.rb index 6c0b23ceb..56e27b108 100644 --- a/app/controllers/admin_outgoing_message_controller.rb +++ b/app/controllers/admin_outgoing_message_controller.rb @@ -12,7 +12,7 @@ class AdminOutgoingMessageController < AdminController @outgoing_message.fully_destroy @outgoing_message.info_request.log_event("destroy_outgoing", - { :editor => admin_current_user(), :deleted_outgoing_message_id => outgoing_message_id }) + { :editor => admin_current_user, :deleted_outgoing_message_id => outgoing_message_id }) flash[:notice] = 'Outgoing message successfully destroyed.' redirect_to admin_request_url(@info_request) @@ -30,7 +30,7 @@ class AdminOutgoingMessageController < AdminController if @outgoing_message.save @outgoing_message.info_request.log_event("edit_outgoing", { :outgoing_message_id => @outgoing_message.id, - :editor => admin_current_user(), + :editor => admin_current_user, :old_body => old_body, :body => @outgoing_message.body, :old_prominence => old_prominence, |