Commit fd48ac18 authored by Kushal Pandya's avatar Kushal Pandya

Add default `markdown_version`

parent 31aec531
...@@ -3,4 +3,5 @@ ...@@ -3,4 +3,5 @@
%section.js-vue-notes-event %section.js-vue-notes-event
#js-vue-notes{ data: { notes_data: notes_data(@epic), #js-vue-notes{ data: { notes_data: notes_data(@epic),
noteable_data: EpicSerializer.new(current_user: current_user).represent(@epic).to_json, noteable_data: EpicSerializer.new(current_user: current_user).represent(@epic).to_json,
current_user_data: UserSerializer.new.represent(current_user, only_path: true).to_json, noteable_type: 'epic' } } current_user_data: UserSerializer.new.represent(current_user, only_path: true).to_json, noteable_type: 'epic',
markdown_version: @issuable.cached_markdown_version } }
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