ddbbf453c7
- instead of using properties - backward compatibility has to be kept for now
19 lines
402 B
Ruby
19 lines
402 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RedmineService < 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
|
|
'Redmine'
|
|
end
|
|
|
|
def default_description
|
|
s_('IssueTracker|Redmine issue tracker')
|
|
end
|
|
|
|
def self.to_param
|
|
'redmine'
|
|
end
|
|
end
|