Skip to content

Commit

Permalink
closes #50, using the new /uid/<uid> route
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed May 6, 2016
1 parent f708c23 commit 194fc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library.js
Expand Up @@ -221,7 +221,7 @@ Mentions.parseRaw = function(content, callback) {
var plain = match.slice(0, atIndex);
match = match.slice(atIndex);
var str = results.uid
? '<a class="plugin-mentions-a" href="' + nconf.get('url') + '/user/' + slug + '">' + match + '</a>'
? '<a class="plugin-mentions-a" href="' + nconf.get('url') + '/uid/' + results.uid + '">' + match + '</a>'
: '<a class="plugin-mentions-a" href="' + nconf.get('url') + '/groups/' + slug + '">' + match + '</a>';

return plain + str;
Expand Down

0 comments on commit 194fc50

Please sign in to comment.