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
end
def url(subject)
project = subject.project
namespace_project_build_url(project.namespace.becomes(Namespace), project, subject)
polymorphic_url(
[subject.project.namespace.becomes(Namespace), subject.project, subject]
)
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