lib/railties/lib/rails/templates/rails/components/previews.html.erb in view_component-1.17.0 vs lib/railties/lib/rails/templates/rails/components/previews.html.erb in view_component-2.0.0
- old
+ new
@@ -1,6 +1,6 @@
<h3><%= @preview.preview_name.titleize %></h3>
<ul>
<% @preview.examples.each do |example| %>
- <li><%= link_to example, "/rails/components/#{@preview.preview_name}/#{example}" %></li>
+ <li><%= link_to example, "/rails/view_components/#{@preview.preview_name}/#{example}" %></li>
<% end %>
</ul>