diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-11-02 18:41:32 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2016-11-08 16:54:58 +0300 |
commit | 6970c1f331e1f56424ff90fe43113d9f512bce95 (patch) | |
tree | 3e32aef0ea97787c2dbe53c26d6c8c1e6f204477 /app/helpers | |
parent | 35142a097865b1083ddea95c8507aab07e52a4ed (diff) |
Allow to use Dockerfile templates
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/blob_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/blob_helper.rb b/app/helpers/blob_helper.rb index 07ff6fb9488..f31d4fb897d 100644 --- a/app/helpers/blob_helper.rb +++ b/app/helpers/blob_helper.rb @@ -191,6 +191,10 @@ module BlobHelper @gitlab_ci_ymls ||= Gitlab::Template::GitlabCiYmlTemplate.dropdown_names end + def dockerfile_names + @dockerfile_names ||= Gitlab::Template::DockerfileTemplate.dropdown_names + end + def blob_editor_paths { 'relative-url-root' => Rails.application.config.relative_url_root, |