Ruby: remove a fixed TODO

This commit is contained in:
Alex Ford
2023-01-11 21:02:38 +00:00
parent e5fbc92856
commit b78ae1608e

View File

@@ -14,7 +14,7 @@
<ul>
<% for key in [:display_text, :safe_text] do %>
<%# BAD: A local rendered raw via the locals hash %>
<%# TODO: we miss that `key` can take `:display_text` as a value here %>
<li><%= raw local_assigns[key] %></li>
<% end %>
</ul>