]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/note.html.erb
Look at all note comments to find the close event
[rails.git] / app / views / browse / note.html.erb
index 884f95d57914013481a76688b41e11d5110be888..ffc198b0a52ebf6c05db80184cb3fba30ac84a82 100644 (file)
@@ -15,7 +15,7 @@
     <%= note_event("opened", @note.created_at, @note.author) %>
     <% if @note.status == "closed" %>
       <br />
-      <%= note_event(@note.status, @note.closed_at, @note_comments.last.author) %>
+      <%= note_event(@note.status, @note.closed_at, @note.all_comments.last.author) %>
     <% end %>
   </div>