mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-22 04:45:46 -04:00
Fix for notifications not being shown when running with prefix
This commit is contained in:
parent
3bc4aefe87
commit
8a63b46adc
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ Discourse.HeaderView = Discourse.View.extend({
|
|||
showNotifications: function() {
|
||||
|
||||
var headerView = this;
|
||||
Discourse.ajax('/notifications').then(function(result) {
|
||||
Discourse.ajax(Discourse.getURL('/notifications')).then(function(result) {
|
||||
headerView.set('notifications', result.map(function(n) {
|
||||
return Discourse.Notification.create(n);
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue