index.html.erb 278 B

1234567
  1. <h1>Notifications</h1>
  2. <ul>
  3. <% @notifications.each do |notification| %>
  4. <li><%= render "notifications/#{notification.notifiable_type.underscore}/#{notification.action.underscore}", actor: notification.actor, notifiable: notification.notifiable %></li>
  5. <% end %>
  6. </ul>