summaryrefslogtreecommitdiff
path: root/lib/gitlab/template/gitignore.rb
blob: 964fbfd4de330ef82019a615d67be438dcb2eedf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module Gitlab
  module Template
    class Gitignore < BaseTemplate
      class << self
        def extension
          '.gitignore'
        end

        def categories
          {
            "Languages" => '',
            "Global"    => 'Global'
          }
        end

        def base_dir
          Rails.root.join('vendor/gitignore')
        end
      end
    end
  end
end