summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2016-05-19 21:24:05 +0000
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2016-05-19 21:24:05 +0000
commitfa7a682bb05080855c8de29535e9626dde63c145 (patch)
tree4831151ad5de8c15d986d41714f3cbfc8a335499 /config
parent3f6f2bbe14a7b6da59f87918c84617b8a3e4d1f1 (diff)
parente3aaab2d266610e85a452df74bd41e75e86b8df3 (diff)
downloadgitlab-ce-fa7a682bb05080855c8de29535e9626dde63c145.tar.gz
Merge branch 'fix-generator-templates-directory' into 'master'
Move generator templates to generator_templates/ See merge request !4217
Diffstat (limited to 'config')
-rw-r--r--config/application.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb
index a96765a3c9b..0e5a77285e5 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -26,6 +26,8 @@ module Gitlab
#{config.root}/app/models/members
#{config.root}/app/models/project_services))
+ config.generators.templates.push("#{config.root}/generator_templates")
+
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
@@ -39,7 +41,7 @@ module Gitlab
config.encoding = "utf-8"
# Configure sensitive parameters which will be filtered from the log file.
- #
+ #
# Parameters filtered:
# - Password (:password, :password_confirmation)
# - Private tokens (:private_token)