Commit 69d7bbe2 authored by Francisco Javier López's avatar Francisco Javier López
Browse files

Code review comments applied

parent 05c6ed2cf87c
......@@ -21,7 +21,7 @@ def execute
def template_name
strong_memoize(:template_name) do
......@@ -36,6 +36,13 @@
1. Click **Create project**.
## Custom project templates
> [Introduced]( in [GitLab Edition Premium][ee] 11.2
When you create a new project, creating it based on custom project templates is a convenient option to bootstrap from an existing project boilerplate. The administration setting to configure a GitLab group that serves as template source can be found under **Admin > Settings > Custom project templates**.
Within this section, you can configure the group where all the custom project templates are sourced. Every project under the group namespace will be available to the user if they have access to them. For example: Every public project in the group will be available to the user. However, private projects will be available only if the user is authorized.
## Push to create a new project
> [Introduced]( in GitLab 10.5.
module Gitlab
module TemplateHelper
include Gitlab::Utils::StrongMemoize
def prepare_template_environment(file_path)
return unless file_path.present?
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment