app/views/lookbook/nav/_preview.html.erb in lookbook-0.3.1 vs app/views/lookbook/nav/_preview.html.erb in lookbook-0.3.2

- old
+ new

@@ -1,11 +1,11 @@ <% examples = node.get_examples %> <% if examples.many? %> - <%= render "./nav/node", node: node, path: show_path(examples.first.path) do %> + <%= render "nav/node", node: node, path: show_path(examples.first.path) do %> <% examples.each do |example| %> - <%= render "./nav/leaf", leaf: example, depth: example.hierarchy_depth + 1 %> + <%= render "nav/leaf", leaf: example, depth: example.hierarchy_depth + 1 %> <% end %> <% end %> <% else %> <% example = examples.first %> - <%= render "./nav/leaf", leaf: example, depth: example.hierarchy_depth, label: node.label, display: :node %> -<% end %> \ No newline at end of file + <%= render "nav/leaf", leaf: example, depth: example.hierarchy_depth, label: node.label, display: :node %> +<% end %>