]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/show.html.erb
Merge pull request #5591 from AntonKhorev/api-element-resources--index-paths
[rails.git] / app / views / notes / show.html.erb
index d17612e2929be2a70b315dc78e955e2da56c03ef..3d9b4a9bace5aafa7d1a378abc6da3ed1a0bf54e 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(@note.author, @note.description).to_html) %>
   </div>
 
   <div class="details" data-coordinates="<%= @note.lat %>,<%= @note.lon %>" data-status="<%= @note.status %>">