Welcome to mirror list, hosted at ThFree Co, Russian Federation.

project_metrics_setting.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a2a7dc571a4e86a46639ef4b619d81e0af2f081b (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class ProjectMetricsSetting < ApplicationRecord
  belongs_to :project

  validates :external_dashboard_url,
    length: { maximum: 255 },
    addressable_url: { enforce_sanitization: true, ascii_only: true }
end