<% content_for :title, "Navigations" %> <%= table_with collection: menus, sort: sort, class: "index-table" do |row, menu| %> <%= row.cell :title do |cell| %> <%= link_to cell.value, menu %> <% end %> <%= row.cell :slug %> <% end %>