summaryrefslogtreecommitdiff
path: root/lib/gitlab/template_helper.rb
diff options
context:
space:
mode:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-07-25 09:07:47 -0400
committerFrancisco Javier López <fjlopez@gitlab.com>2018-07-25 09:07:47 -0400
commit26d142e3a833c2ed75c9c5767c5fd3482a9d0744 (patch)
tree51ec8464462f23ebcbad87d80f116996225124dd /lib/gitlab/template_helper.rb
parent507510bd6e132af1ce6f6154e1dcad0e895dff21 (diff)
downloadgitlab-ce-26d142e3a833c2ed75c9c5767c5fd3482a9d0744.tar.gz
Code review comments appliedfj-6860-instance-level-project-templates
Diffstat (limited to 'lib/gitlab/template_helper.rb')
-rw-r--r--lib/gitlab/template_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/template_helper.rb b/lib/gitlab/template_helper.rb
index 6b4972d5f13..3b8e45e0688 100644
--- a/lib/gitlab/template_helper.rb
+++ b/lib/gitlab/template_helper.rb
@@ -1,5 +1,7 @@
module Gitlab
module TemplateHelper
+ include Gitlab::Utils::StrongMemoize
+
def prepare_template_environment(file_path)
return unless file_path.present?