Commit 447314c0 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'zj-revert-polymorphic-url' into 'master'

Revert specific URL

See merge request !8321
parents 3e1ac95b 1955bcaa
...@@ -49,9 +49,9 @@ module Gitlab ...@@ -49,9 +49,9 @@ module Gitlab
end end
def url(subject) def url(subject)
project = subject.project polymorphic_url(
[subject.project.namespace.becomes(Namespace), subject.project, subject]
namespace_project_build_url(project.namespace.becomes(Namespace), project, subject) )
end end
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