Skip to content

Commit

Permalink
Update comments_controller.rb
Browse files Browse the repository at this point in the history
Disable rubocop class length
  • Loading branch information
nimmolo committed May 15, 2024
1 parent 286acee commit d5c873b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/comments_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# update::
# destroy::
#
#
# rubocop:disable Metrics/ClassLength
class CommentsController < ApplicationController
before_action :login_required
# disable cop because index is defined in ApplicationController
Expand Down Expand Up @@ -415,3 +415,4 @@ def comment_updated?
end
end
end
# rubocop:enable Metrics/ClassLength

0 comments on commit d5c873b

Please sign in to comment.