debian-mirror-gitlab/app/models/project_services/redmine_service.rb
2020-08-09 17:41:57 +05:30

17 lines
327 B
Ruby

# frozen_string_literal: true
class RedmineService < IssueTrackerService
validates :project_url, :issues_url, :new_issue_url, presence: true, public_url: true, if: :activated?
def title
'Redmine'
end
def description
s_('IssueTracker|Redmine issue tracker')
end
def self.to_param
'redmine'
end
end