Pass proper endpoint path to MR pipelines partial
This commit is contained in:
parent
f97d7769e0
commit
9c916bf528
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue