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_request_controller.rb | |
parent | dd289908964c8d60e33ce71724dc9e36c3beb765 (diff) |
Remove all optional parentheses for method calls in Ruby
Diffstat (limited to 'app/controllers/admin_request_controller.rb')
-rw-r--r-- | app/controllers/admin_request_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/admin_request_controller.rb b/app/controllers/admin_request_controller.rb index 4dcb0681f..59eb5e6b8 100644 --- a/app/controllers/admin_request_controller.rb +++ b/app/controllers/admin_request_controller.rb @@ -57,7 +57,7 @@ class AdminRequestController < AdminController if @info_request.valid? @info_request.save! @info_request.log_event("edit", - { :editor => admin_current_user(), + { :editor => admin_current_user, :old_title => old_title, :title => @info_request.title, :old_prominence => old_prominence, :prominence => @info_request.prominence, :old_described_state => old_described_state, :described_state => params[:info_request][:described_state], @@ -105,7 +105,7 @@ class AdminRequestController < AdminController info_request.user = destination_user info_request.save! info_request.log_event("move_request", { - :editor => admin_current_user(), + :editor => admin_current_user, :old_user_url_name => old_user.url_name, :user_url_name => destination_user.url_name }) @@ -176,7 +176,7 @@ class AdminRequestController < AdminController info_request.prominence = "requester_only" info_request.log_event("hide", { - :editor => admin_current_user(), + :editor => admin_current_user, :reason => params[:reason], :subject => subject, :explanation => explanation |