metamaps--metamaps/app/views/notifications/mark_read.js.erb

4 lines
139 B
Text
Raw Normal View History

2016-11-17 04:50:47 +00:00
$('#notification-<%= @notification.id %> > a')
.text('(read)')
.attr('href', '<%= mark_unread_notification_path(@notification.id) %>')