diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-15 13:18:13 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-15 13:18:13 +0000 |
commit | 9451db3819ae45734c4343e55a74d347cdacf70d (patch) | |
tree | c7591f98e91b3673706855ce9ba59facd0600172 | |
parent | 2b4a3bc524c0db3f6e4e3d2b2f34ec29e358b240 (diff) | |
parent | 118d96906ae3923206ca91ca9ccd3c5bc6c2fd3a (diff) | |
download | gitlab-ce-9451db3819ae45734c4343e55a74d347cdacf70d.tar.gz |
Merge branch 'rs-issue-4032' into 'master'
Fix note polling
Closes #4032
See merge request !2084
-rw-r--r-- | app/controllers/projects/notes_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/projects/notes_controller.rb b/app/controllers/projects/notes_controller.rb index 88b949a27ab..ae6e9f6fd38 100644 --- a/app/controllers/projects/notes_controller.rb +++ b/app/controllers/projects/notes_controller.rb @@ -13,7 +13,8 @@ class Projects::NotesController < Projects::ApplicationController @notes.each do |note| notes_json[:notes] << { id: note.id, - html: note_to_html(note) + html: note_to_html(note), + valid: note.valid? } end |