Add references between projects and todos
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

This commit is contained in:
2025-10-27 13:48:15 +01:00
parent 871377a90b
commit 9f42deee95
8 changed files with 47 additions and 2 deletions

View File

@@ -1,4 +1,9 @@
<h1><%= @project.name %></h1>
<% @project.todos.each do |todo| %>
<li><%= link_to todo.name, todo_path(todo) %></li>
<% end %>
<%= link_to "Edit", edit_project_path %>
<%= button_to "Delete", project_path, method: :delete %>
<%= link_to "Back", projects_path %>