lib/railties/lib/rails/templates/rails/components/index.html.erb in view_component-1.17.0 vs lib/railties/lib/rails/templates/rails/components/index.html.erb in view_component-2.0.0

- old
+ new

@@ -1,8 +1,8 @@ <% @previews.each do |preview| %> - <h3><%= link_to preview.preview_name.titleize, "/rails/components/#{preview.preview_name}" %></h3> + <h3><%= link_to preview.preview_name.titleize, "/rails/view_components/#{preview.preview_name}" %></h3> <ul> <% preview.examples.each do |preview_example| %> - <li><%= link_to preview_example, "/rails/components/#{preview.preview_name}/#{preview_example}" %></li> + <li><%= link_to preview_example, "/rails/view_components/#{preview.preview_name}/#{preview_example}" %></li> <% end %> </ul> <% end %>