]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/_note.xml.builder
Fix incorrectly nested HTML in OAuth application creation form
[rails.git] / app / views / notes / _note.xml.builder
index 42e69fec2a7def80f70aa3a47d98b274a0d33ee1..2b978e325f116b4d8effbccaf772fa689f268ed7 100644 (file)
@@ -12,7 +12,7 @@ xml.note("lon" => note.lon, "lat" => note.lat) do
   xml.date_created note.created_at
   xml.status note.status
 
-  if note.status == "closed"
+  if note.closed?
     xml.date_closed note.closed_at
   end