<% @notifications.each do |notification| %>
" data-notification-id="<%= notification.id %>"> <%= render notification.notifiable_type.downcase.to_s, notification: notification %>
<% rescue => e %> <% Honeybadger.notify(e, context: { notification_id: notification.id }) %>

An error occurred!

This has been logged and we're tracking it. If you see too many of these, please report it to <%= email_link %>!

<% end %> <% if @notifications.any? %> <% sub_path = params[:org_id].present? ? "#{params[:filter]}/#{params[:org_id]}" : params[:filter].to_s %>
<% end %>