summaryrefslogtreecommitdiff
path: root/lib/gitlab/template/gitignore.rb
blob: 73fb3b18c4df3c24a0258558cd845edcb20ff808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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