X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5efe07f164ae62bd758a24c571b8b2f6089ed696..30f9f95ef6f6fd0fa91e343094cdd5309213ff7a:/app/views/notes/_note.json.jsonify diff --git a/app/views/notes/_note.json.jsonify b/app/views/notes/_note.json.jsonify index 74ff5ccec..5e3ac518e 100644 --- a/app/views/notes/_note.json.jsonify +++ b/app/views/notes/_note.json.jsonify @@ -26,7 +26,7 @@ json.properties do if comment.author json.uid comment.author.id json.user comment.author.display_name - json.user_url user_url(:display_name => comment.author.display_name, :host => SERVER_URL) + json.user_url user_url(:display_name => comment.author.display_name, :only_path => false) end json.action comment.event