Commit 2a60b800 authored by Douwe Maan's avatar Douwe Maan
Browse files

Fix Project

parent afb77f71ba21
...@@ -432,7 +432,7 @@ def avatar_url ...@@ -432,7 +432,7 @@ def avatar_url
if avatar.present? if avatar.present?
[gitlab_config.url, avatar.url].join [gitlab_config.url, avatar.url].join
elsif avatar_in_git elsif avatar_in_git
[gitlab_config.url, namespace_project_avatar_path(namespace, self)].join Rails.application.routes.url_helpers.namespace_project_avatar_url(namespace, self)
end end
end end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment