diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-25 16:41:02 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-25 16:41:02 +0100 |
commit | bd21e3d7319dce4600881f7f8677b28f3f55cc5e (patch) | |
tree | 64cc5e578ca90761b0a7f9e33eec17ce4203a098 /app/helpers | |
parent | 7d5b51f3877eb209e1215c1154a976bb079b930d (diff) | |
download | gitlab-ce-bd21e3d7319dce4600881f7f8677b28f3f55cc5e.tar.gz |
Add Open Graph data for group, project and commit.
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/page_layout_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/page_layout_helper.rb b/app/helpers/page_layout_helper.rb index 791cb9e50bd..b84644d6996 100644 --- a/app/helpers/page_layout_helper.rb +++ b/app/helpers/page_layout_helper.rb @@ -53,6 +53,8 @@ module PageLayoutHelper @project.avatar_url || default elsif @user avatar_icon(@user) + elsif @group + @group.avatar_url || default else default end |