2016-11-24 20:36:48 +00:00
|
|
|
$('#notification-<%= @notification.id %> .notification-read-unread > a')
|
2016-11-17 04:50:47 +00:00
|
|
|
.text('(read)')
|
|
|
|
.attr('href', '<%= mark_unread_notification_path(@notification.id) %>')
|
2016-11-25 16:39:10 +00:00
|
|
|
$('#notification-<%= @notification.id %>')
|
|
|
|
.removeClass('unread')
|
|
|
|
.addClass('read')
|