diff options
author | Nick Thomas <nick@gitlab.com> | 2018-09-26 11:58:58 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-10-19 01:39:59 +0100 |
commit | 34480bb8501eaf1c5b71284fc9cd2bcdbf04fdea (patch) | |
tree | 03aa9679b382df634b72eac48e3cc6ca48e5ce2e /lib | |
parent | 57b4884e621ab51e4aacfed771985d178bc50a3a (diff) | |
download | gitlab-ce-34480bb8501eaf1c5b71284fc9cd2bcdbf04fdea.tar.gz |
Backport CE to changes to support group-level file templates
When the feature is available, this setting allows admins to choose a
project as a source of custom file templates. This is in addition to
any instance-wide templates, whether custom or vendored into the GitLab
codebase.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/template/base_template.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/template/base_template.rb b/lib/gitlab/template/base_template.rb index 4456217017f..699d747892c 100644 --- a/lib/gitlab/template/base_template.rb +++ b/lib/gitlab/template/base_template.rb @@ -1,7 +1,7 @@ module Gitlab module Template class BaseTemplate - attr_reader :category + attr_accessor :category def initialize(path, project = nil, category: nil) @path = path |