Listing branches

<% @branches.each do |branch| %> <% end %>
Name
<%= branch.name %> <%= link_to 'Show', branch %> <%= link_to 'Edit', edit_branch_path(branch) %> <%= link_to 'Destroy', branch, method: :delete, data: { confirm: 'Are you sure?' } %>

<%= link_to 'New Branch', new_branch_path %>