diff options
Diffstat (limited to 'app/views/projects/notes')
-rw-r--r-- | app/views/projects/notes/_notes.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/notes/_notes.html.haml b/app/views/projects/notes/_notes.html.haml index d619f7ac262..2b2bab09c74 100644 --- a/app/views/projects/notes/_notes.html.haml +++ b/app/views/projects/notes/_notes.html.haml @@ -1,6 +1,6 @@ - if defined?(@discussions) - @discussions.each do |discussion| - - if discussion.render_as_individual_notes? + - if discussion.individual_note? = render partial: "projects/notes/note", collection: discussion.notes, as: :note - else = render 'discussions/discussion', discussion: discussion |