rubocop: fix various style issues.
This commit is contained in:
@@ -26,7 +26,7 @@ class PostApproval < ApplicationRecord
|
||||
end
|
||||
|
||||
def approve_post
|
||||
ModAction.log("undeleted post ##{post_id}",:post_undelete) if post.is_deleted
|
||||
ModAction.log("undeleted post ##{post_id}", :post_undelete) if post.is_deleted
|
||||
|
||||
post.flags.each(&:resolve!)
|
||||
post.update(approver: user, is_flagged: false, is_pending: false, is_deleted: false)
|
||||
|
||||
Reference in New Issue
Block a user