eea9afb639
This also splits the templates into two: index and tray, since the URL now changes.
9 lines
373 B
Plaintext
9 lines
373 B
Plaintext
<% cache notification do %>
|
|
<%= notification_tag notification do %>
|
|
<%= render "notifications/notification/header", notification: notification do %>
|
|
<%= notification_toggle_read_button(notification, url: card_reading_path(notification.card)) %>
|
|
<% end %>
|
|
<%= render "notifications/notification/body", notification: notification %>
|
|
<% end %>
|
|
<% end %>
|