Commit 86c93df7 authored by Andrew Sliwinski's avatar Andrew Sliwinski

Migrate to new API route for message count. Resolves GH-316 Resolves GH-95

parent 4ab7cfef
......@@ -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