• <%= span_if_current t(".index"), admin_banners_path %>
  • <% if policy(AdminBanner).new? %>
  • <%= span_if_current t(".new"), new_admin_banner_path %>
  • <% end %> <% if params[:id] %>
  • <%= span_if_current t(".edit"), edit_admin_banner_path(@admin_banner) %>
  • <% if policy(AdminBanner).destroy? %>
  • <%= link_to t(".delete"), confirm_delete_admin_banner_path(@admin_banner), data: { confirm: t(".confirm_delete") } %>
  • <% end %> <% end %>