aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_comment_controller.rb
diff options
context:
space:
mode:
authorJames McKinney <james@slashpoundbang.com>2015-05-21 14:56:53 +0200
committerJames McKinney <james@slashpoundbang.com>2015-05-21 14:56:53 +0200
commit7b2757e7be4ae2ddf0fa7cb694faf5799340f003 (patch)
tree3595987c0d46c8a90f522b581daa94415407e38e /app/controllers/admin_comment_controller.rb
parentdd289908964c8d60e33ce71724dc9e36c3beb765 (diff)
Remove all optional parentheses for method calls in Ruby
Diffstat (limited to 'app/controllers/admin_comment_controller.rb')
-rw-r--r--app/controllers/admin_comment_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin_comment_controller.rb b/app/controllers/admin_comment_controller.rb
index dc505be9f..eed328b34 100644
--- a/app/controllers/admin_comment_controller.rb
+++ b/app/controllers/admin_comment_controller.rb
@@ -21,7 +21,7 @@ class AdminCommentController < AdminController
if @comment.update_attributes(params[:comment])
@comment.info_request.log_event("edit_comment",
{ :comment_id => @comment.id,
- :editor => admin_current_user(),
+ :editor => admin_current_user,
:old_body => old_body,
:body => @comment.body,
:old_visible => old_visible,