]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/index.html.erb
Changed note's first comment body to description
[rails.git] / app / views / notes / index.html.erb
index c883126658e7c69b7cb278f4d9724c35f3d12bdd..f805a10402b413aa295875010a051b7ecbbef76f 100644 (file)
@@ -48,7 +48,7 @@
       </td>
       <td><%= link_to note.id, note %></td>
       <td><%= note_author(note.author) %></td>
-      <td><%= note.comments.first.body.to_html %></td>
+      <td><%= note.description.to_html %></td>
       <td><%= friendly_date_ago(note.created_at) %></td>
       <td><%= friendly_date_ago(note.updated_at) %></td>
     </tr>