summaryrefslogtreecommitdiffhomepage
path: root/app/views/nodes/show.html.erb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2020-12-02 23:55:40 -0500
committerrealtradam <[email protected]>2020-12-02 23:55:40 -0500
commite6d86fe2b907b6be57bab88396ab8b27fa95d580 (patch)
tree4206ca2919060dc9badb448641f3fe1a59ce6963 /app/views/nodes/show.html.erb
parentd13b636bd654244f894943c2968a7386e8379605 (diff)
downloadrails-tree-style-activerecord-e6d86fe2b907b6be57bab88396ab8b27fa95d580.tar.gz
rails-tree-style-activerecord-e6d86fe2b907b6be57bab88396ab8b27fa95d580.zip
known bugs fixed
Diffstat (limited to 'app/views/nodes/show.html.erb')
-rw-r--r--app/views/nodes/show.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb
index c933d1e..ccca323 100644
--- a/app/views/nodes/show.html.erb
+++ b/app/views/nodes/show.html.erb
@@ -6,4 +6,7 @@
<p>
<strong>Content:</strong>
<%= @node.content %>
+<% @node.children.each do |child| %>
+ <%= child.id %>
+<% end %>
</p>