Merge pull request #2874 from cpradio/clear-notifications

FEATURE: Mark All as Read button for Notifications page
This commit is contained in:
Robin Ward
2014-10-16 15:57:19 -04:00
11 changed files with 88 additions and 1 deletions
@@ -46,5 +46,9 @@ Discourse.NotificationContainer.reopenClass({
}).catch(function(error) {
return Discourse.NotificationContainer.createFromError(error);
});
},
resetNew: function() {
return Discourse.ajax("/notifications/reset-new", {type: 'PUT'});
}
});