8 lines
345 B
Text
8 lines
345 B
Text
- if defined?(@discussions)
|
|
- @discussions.each do |discussion|
|
|
- if discussion.individual_note?
|
|
= render partial: "projects/notes/note", collection: discussion.notes, as: :note
|
|
- else
|
|
= render 'discussions/discussion', discussion: discussion
|
|
- else
|
|
= render partial: "projects/notes/note", collection: @notes, as: :note
|