summaryrefslogtreecommitdiff
path: root/app/views/notes/_notes_list.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/notes/_notes_list.html.haml')
-rw-r--r--app/views/notes/_notes_list.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notes/_notes_list.html.haml b/app/views/notes/_notes_list.html.haml
index 1e4a6bb2b2f..5673988d87d 100644
--- a/app/views/notes/_notes_list.html.haml
+++ b/app/views/notes/_notes_list.html.haml
@@ -1,4 +1,4 @@
- @notes.each do |note|
- next unless note.author
- = render :partial => "notes/show", :locals => {:note => note}
+ = render partial: "notes/show", locals: {note: note}