debian-mirror-gitlab/app/models/project_services/bugzilla_service.rb
2019-09-30 21:07:59 +05:30

19 lines
406 B
Ruby

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