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:
authorSean McGivern <sean@gitlab.com>2019-04-05 16:18:35 +0300
committerSean McGivern <sean@gitlab.com>2019-04-05 16:18:35 +0300
commite32c82ed1eabc0e409e91d5d210f1ecc6fd4c091 (patch)
treef77994e07005092aaaa3f7d48d442ccbe98a07df /lib/gitlab/template
parent4dd53240fb760af16e43f4ee6a3ff12dc296d7e0 (diff)
Revert "Merge branch 'require-all-templates-to-include-default-stages' into 'master'"
This reverts merge request !26954
Diffstat (limited to 'lib/gitlab/template')
-rw-r--r--lib/gitlab/template/base_template.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/gitlab/template/base_template.rb b/lib/gitlab/template/base_template.rb
index 14c9a3e0389..0b4cc571dc0 100644
--- a/lib/gitlab/template/base_template.rb
+++ b/lib/gitlab/template/base_template.rb
@@ -16,12 +16,6 @@ module Gitlab
end
alias_method :key, :name
- def full_name
- Pathname.new(@path)
- .relative_path_from(self.class.base_dir)
- .to_s
- end
-
def content
@finder.read(@path)
end