debian-mirror-gitlab/lib/gitlab/template/merge_request_template.rb

20 lines
413 B
Ruby
Raw Normal View History

2016-09-13 17:45:13 +05:30
module Gitlab
module Template
class MergeRequestTemplate < BaseTemplate
class << self
def extension
'.md'
end
def base_dir
'.gitlab/merge_request_templates/'
end
def finder(project)
Gitlab::Template::Finders::RepoTemplateFinder.new(project, self.base_dir, self.extension, self.categories)
end
end
end
end
end