metamaps--metamaps/app/views/notifications/mark_read.js.erb
2016-12-11 17:48:47 -05:00

4 lines
139 B
Plaintext

$('#notification-<%= @notification.id %> > a')
.text('(read)')
.attr('href', '<%= mark_unread_notification_path(@notification.id) %>')