diff options
author | James McKinney <james@slashpoundbang.com> | 2015-05-21 14:56:53 +0200 |
---|---|---|
committer | James McKinney <james@slashpoundbang.com> | 2015-05-21 14:56:53 +0200 |
commit | 7b2757e7be4ae2ddf0fa7cb694faf5799340f003 (patch) | |
tree | 3595987c0d46c8a90f522b581daa94415407e38e /app/controllers/admin_outgoing_message_controller.rb | |
parent | dd289908964c8d60e33ce71724dc9e36c3beb765 (diff) |
Remove all optional parentheses for method calls in Ruby
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, |