gitlab-org--gitlab-foss/app/models/project_services/redmine_service.rb

18 lines
343 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2015-01-20 19:46:27 -05:00
class RedmineService < IssueTrackerService
validates :project_url, :issues_url, :new_issue_url, presence: true, public_url: true, if: :activated?
def default_title
'Redmine'
2015-01-20 19:46:27 -05:00
end
def default_description
s_('IssueTracker|Redmine issue tracker')
2015-01-20 19:46:27 -05:00
end
def self.to_param
2015-01-20 19:46:27 -05:00
'redmine'
end
end