<% arms.each do |arm| %> <% if can? :show, arm %> <%= link_to arm.title, arm_path(arm), class: "list-group-item" %> <% end %> <% end %>