gitlab-org--gitlab-foss/lib/gitlab/template/issue_template.rb

20 lines
398 B
Ruby
Raw Normal View History

module Gitlab
module Template
class IssueTemplate < BaseTemplate
class << self
def extension
'.md'
end
def base_dir
'.gitlab/issue_templates/'
end
def finder(project)
Gitlab::Template::Finders::RepoTemplateFinder.new(project, self.base_dir, self.extension, self.categories)
end
end
end
end
end