Skip to content

Commit 338497e

Browse files
committed
Fix incorrect usage of disable rubocop class length
1 parent 2ea918d commit 338497e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/controllers/comments_controller.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# rubocop:disable Metrics/ClassLength
12
# Provides mainly web actions for using and making comments.
23
class CommentsController < ApplicationController
34
before_action :authenticate_user!, except: [:post, :show, :thread, :thread_content]
@@ -423,4 +424,4 @@ def audit(event_type, comment, audit_comment = '')
423424
user: current_user)
424425
end
425426
end
426-
# rubocop:disable Metrics/ClassLength
427+
# rubocop:enable Metrics/ClassLength

0 commit comments

Comments
 (0)