Commit 04766a82 authored by Andrew Sliwinski's avatar Andrew Sliwinski

Merge pull request #317 from thisandagain/bugfix/316

Migrate to new API route for message count
parents 4ab7cfef 86c93df7
......@@ -96,7 +96,7 @@ var Navigation = React.createClass({
getMessageCount: function () {
this.api({
method: 'get',
uri: '/proxy/users/' + this.state.session.user.username + '/activity/count'
uri: '/users/' + this.state.session.user.username + '/messages/count'
}, function (err, body) {
if (err) return this.setState({'unreadMessageCount': 0});
if (body) {
......@@ -197,7 +197,7 @@ var Navigation = React.createClass({
<div className={classes}>
<ul>
<li className="logo"><a href="/"></a></li>
<li className="link create">
<a href="/projects/editor">
<FormattedMessage
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment