From 36e083a7a61458f21cf72b957ae8dff32580dd83 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 8 Oct 2025 04:53:12 +0000 Subject: [PATCH] Fix RuboCop offense: Style/CommentAnnotation (#29664). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@24038 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/webhook.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/webhook.rb b/app/models/webhook.rb index d67c31f6a..dd18f579e 100644 --- a/app/models/webhook.rb +++ b/app/models/webhook.rb @@ -29,7 +29,7 @@ class Webhook < ApplicationRecord end belongs_to :user - # ToDo: Confirm if we should keep this as it is or we should move to has_many :through + # TODO: Confirm if we should keep this as it is or we should move to has_many :through has_and_belongs_to_many :projects # rubocop:disable Rails/HasAndBelongsToMany validates :url, presence: true, webhook_endpoint: true, length: { maximum: 2000 }