Skip to content

Commit

Permalink
Removed the extra braces
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorcas-BD committed Oct 18, 2022
1 parent 32ab89d commit 7b9e2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/home_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def activity
.page(params[:page])
.group(['title', 'comments.cid']) # ONLY_FULL_GROUP_BY, issue #3120

if logged_in_as((%w(moderator admin)))
if logged_in_as(%w(moderator admin))
notes = notes.where('(node.status = 1 OR node.status = 3)')
comments = comments.where('comments.status = 1')
elsif current_user
Expand Down

0 comments on commit 7b9e2a2

Please sign in to comment.