]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/show.html.erb
Changed note's first comment body to description
[rails.git] / app / views / notes / show.html.erb
index d17612e2929be2a70b315dc78e955e2da56c03ef..a320240488e716224a8908bbed5b612988e7907e 100644 (file)
@@ -5,7 +5,7 @@
 <div>
   <h4><%= t(".description") %></h4>
   <div class="overflow-hidden ms-2">
-    <%= h(@note_comments.first.body.to_html) %>
+    <%= h(@note.description.to_html) %>
   </div>
 
   <div class="details" data-coordinates="<%= @note.lat %>,<%= @note.lon %>" data-status="<%= @note.status %>">