diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-12-12 20:38:12 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-12-12 20:38:12 +0300 |
commit | 118d96906ae3923206ca91ca9ccd3c5bc6c2fd3a (patch) | |
tree | 0892bfa2c1d39c4e160ece700602e7cfee6e7c2d /app/controllers/projects/notes_controller.rb | |
parent | a5e449571bb941d65d33569a0f0db575a5b3d399 (diff) |
Fix note polling
Closes #4032
Diffstat (limited to 'app/controllers/projects/notes_controller.rb')
-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 |