Commit e87d2f4f authored by Donald Cook's avatar Donald Cook

Started adding startupjs to issue page

parent e6934fac
- add_page_startup_api_call discussions_path(@issue)
- @gfm_form = true
- content_for :note_actions do
......
......@@ -82,6 +82,7 @@
#js-related-merge-requests{ data: { endpoint: expose_path(api_v4_projects_issues_related_merge_requests_path(id: @project.id, issue_iid: @issue.iid)), project_namespace: @project.namespace.path, project_path: @project.path } }
- if can?(current_user, :download_code, @project)
- add_page_startup_api_call related_branches_project_issue_path(@project, @issue)
#related-branches{ data: { url: related_branches_project_issue_path(@project, @issue) } }
-# This element is filled in using JavaScript.
......
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