index.html.erb 226 B

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