gitlab-org--gitlab-foss/app/views/projects/issues/_discussion.html.haml

12 lines
470 B
Plaintext
Raw Normal View History

- add_page_startup_api_call discussions_path(@issue)
- add_page_startup_api_call notes_url
2017-08-14 10:35:58 +00:00
- @gfm_form = true
2017-08-17 17:27:11 +00:00
%section.issuable-discussion.js-vue-notes-event
#js-vue-notes{ data: { notes_data: notes_data(@issue).to_json,
noteable_data: serialize_issuable(@issue, with_blocking_issues: true),
2018-06-21 12:22:40 +00:00
noteable_type: 'Issue',
target_type: 'issue',
current_user_data: UserSerializer.new.represent(current_user, {only_path: true}, CurrentUserEntity).to_json } }