summaryrefslogtreecommitdiff
path: root/app/views/projects/ci/pipeline_editor/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/ci/pipeline_editor/show.html.haml')
-rw-r--r--app/views/projects/ci/pipeline_editor/show.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/ci/pipeline_editor/show.html.haml b/app/views/projects/ci/pipeline_editor/show.html.haml
index 0e032f2575e..f1f8658fa3b 100644
--- a/app/views/projects/ci/pipeline_editor/show.html.haml
+++ b/app/views/projects/ci/pipeline_editor/show.html.haml
@@ -3,4 +3,6 @@
#js-pipeline-editor{ data: { "ci-config-path": @project.ci_config_path_or_default,
"project-path" => @project.full_path,
"default-branch" => @project.default_branch,
+ "commit-id" => @project.commit ? @project.commit.id : '',
+ "new-merge-request-path" => namespace_project_new_merge_request_path,
} }