Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-09-26 13:58:58 +0300
committerNick Thomas <nick@gitlab.com>2018-10-19 03:39:59 +0300
commit34480bb8501eaf1c5b71284fc9cd2bcdbf04fdea (patch)
tree03aa9679b382df634b72eac48e3cc6ca48e5ce2e /lib/gitlab/template
parent57b4884e621ab51e4aacfed771985d178bc50a3a (diff)
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/gitlab/template')
-rw-r--r--lib/gitlab/template/base_template.rb2
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