Show earlier notifications first

main
Hugo Peixoto 12 months ago
parent 160c389981
commit e0f76c7aba
  1. 2
      app/views/members/show.html.erb

@ -57,7 +57,7 @@
<th><%= t('notifications.attributes.status') %></th>
<th><%= t('members.show.contribution_actions') %></th>
</tr>
<% @member.notifications.order(to_be_sent_on: :desc).each do |notification| %>
<% @member.notifications.order(to_be_sent_on: :asc).each do |notification| %>
<tr>
<td><%= notification.to_be_sent_on %></td>
<td><code><%= notification.template %></code></td>

Loading…
Cancel
Save