fjord/memoapp/views/index.erb
2024-08-18 22:59:25 +09:00

5 lines
141 B
Text

<ul class="memo-list">
<% @memos.each do |memo| %>
<li><a href="/memos/<%= memo['id'] %>"><%= h(memo['title']) %></a></li>
<% end %>
</ul>