diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-02-07 15:48:35 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-02-07 15:48:35 +0100 |
commit | 9c916bf528a8076927df0ac18883513bd6ce415e (patch) | |
tree | 2e96a8617cada32e22f36632167c6cb6411c0049 /app/views | |
parent | f97d7769e0c70b0d4cda376d03939e2aa78d2c0e (diff) | |
download | gitlab-ce-9c916bf528a8076927df0ac18883513bd6ce415e.tar.gz |
Pass proper endpoint path to MR pipelines partial
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/merge_requests/show/_pipelines.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/show/_pipelines.html.haml b/app/views/projects/merge_requests/show/_pipelines.html.haml index cbe534abedb..6c243c866c8 100644 --- a/app/views/projects/merge_requests/show/_pipelines.html.haml +++ b/app/views/projects/merge_requests/show/_pipelines.html.haml @@ -1 +1,3 @@ -= render 'projects/commit/pipelines_list', endpoint: pipelines_namespace_project_merge_request_path(@project.namespace, @project, @merge_request) +- endpoint_path = local_assigns[:endpoint] || pipelines_namespace_project_merge_request_path(@project.namespace, @project, @merge_request) + += render 'projects/commit/pipelines_list', endpoint: endpoint_path |