Fix Project

This commit is contained in:
Douwe Maan 2015-07-30 12:35:09 +02:00
parent b8066e2cd0
commit 2a60b8006b
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ class Project < ActiveRecord::Base
if avatar.present?
[gitlab_config.url, avatar.url].join
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