diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2018-07-25 09:07:47 -0400 |
---|---|---|
committer | Francisco Javier López <fjlopez@gitlab.com> | 2018-07-25 09:07:47 -0400 |
commit | 26d142e3a833c2ed75c9c5767c5fd3482a9d0744 (patch) | |
tree | 51ec8464462f23ebcbad87d80f116996225124dd /lib/gitlab/template_helper.rb | |
parent | 507510bd6e132af1ce6f6154e1dcad0e895dff21 (diff) | |
download | gitlab-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.rb | 2 |
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? |