<%= render partial: 'breadcrumbs', locals: {breadcrumbs: [['ホーム', '/'], ['仕事']]} %>

<h1>Categories#index</h1>

<ul>
  <% @articles.each do |article| %>
    <li>
      <%= link_to article.title, article_path(article) %>
    </li>
  <% end %>
</ul>

<%= render partial: 'breadcrumbs', locals: {breadcrumbs: [['ホーム', '/'], ['仕事']]} %>

<h1>Categories#index</h1>

<ul>
  <% @articles.each do |article| %>
    <li>
      <%= link_to article.title, article_path(article.id) %>
    </li>
  <% end %>
</ul>

Fix to give id to named route helper
Fix to give id to named route helper
