@@ -2,6 +2,6 @@
<ul>
<% @notifications.each do |notification| %>
- <li><%= render "#{notification.action}_to_current_user", actor: notification.actor, notifiable: notification.notifiable %></li>
+ <li><%= render "notifications/#{notification.notifiable_type.underscore}/#{notification.action.underscore}", actor: notification.actor, notifiable: notification.notifiable %></li>
<% end %>
</ul>