debian-mirror-gitlab/app/models/project_services/bugzilla_service.rb
2019-12-04 20:38:33 +05:30

18 lines
347 B
Ruby

# frozen_string_literal: true
class BugzillaService < IssueTrackerService
validates :project_url, :issues_url, :new_issue_url, presence: true, public_url: true, if: :activated?
def default_title
'Bugzilla'
end
def default_description
s_('IssueTracker|Bugzilla issue tracker')
end
def self.to_param
'bugzilla'
end
end