22 lines
442 B
Ruby
22 lines
442 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Gitlab
|
||
|
module Template
|
||
|
class ServiceDeskTemplate < BaseTemplate
|
||
|
class << self
|
||
|
def extension
|
||
|
'.md'
|
||
|
end
|
||
|
|
||
|
def base_dir
|
||
|
'.gitlab/service_desk_templates/'
|
||
|
end
|
||
|
|
||
|
def finder(project)
|
||
|
Gitlab::Template::Finders::RepoTemplateFinder.new(project, self.base_dir, self.extension, self.categories)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|