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

redmine_service.rb « project_services « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a4ca0d20669f89952fa44a7ae01bd4c71a844e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

class RedmineService < IssueTrackerService
  validates :project_url, :issues_url, :new_issue_url, presence: true, public_url: true, if: :activated?

  def default_title
    'Redmine'
  end

  def default_description
    s_('IssueTracker|Redmine issue tracker')
  end

  def self.to_param
    'redmine'
  end
end