mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 00:36:14 +02:00
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
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user