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:
authorFilipa Lacerda <filipa@gitlab.com>2017-08-01 15:23:04 +0300
committerFilipa Lacerda <filipa@gitlab.com>2017-08-01 15:25:52 +0300
commita853d3e944abb7a6d60ea24381028020166760d1 (patch)
treefb15df18400c34f4575ec03d6a140c38b768bda3 /lib/gitlab/project_template.rb
parent09974de3e3d6409e24786c116fc084c6d834fed8 (diff)
[ci skip] Adds svgs and css for all icons
Diffstat (limited to 'lib/gitlab/project_template.rb')
-rw-r--r--lib/gitlab/project_template.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/project_template.rb b/lib/gitlab/project_template.rb
index 01f9492c860..d90ba240fde 100644
--- a/lib/gitlab/project_template.rb
+++ b/lib/gitlab/project_template.rb
@@ -6,9 +6,7 @@ module Gitlab
@name, @title = name, title
end
- def logo_path
- "project_templates/#{name}.png"
- end
+ alias_method :logo, :name
def file
archive_path.open