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:
authorFrancisco Javier López <fjlopez@gitlab.com>2018-07-25 16:07:47 +0300
committerFrancisco Javier López <fjlopez@gitlab.com>2018-07-25 16:07:47 +0300
commit26d142e3a833c2ed75c9c5767c5fd3482a9d0744 (patch)
tree51ec8464462f23ebcbad87d80f116996225124dd /lib/gitlab/template_helper.rb
parent507510bd6e132af1ce6f6154e1dcad0e895dff21 (diff)
Code review comments applied
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?