Skip to content

Commit

Permalink
fix #68
Browse files Browse the repository at this point in the history
  • Loading branch information
brunosardinepi committed Jan 7, 2017
1 parent e22d5cd commit a05069a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion characters/templates/characters/player_form.html
Expand Up @@ -95,7 +95,7 @@
} else if (item.type == 'location') {
var url = "{% url 'locations:location_detail' location_pk=999999999999 %}".replace(999999999999, item.id);
} else {
var url = "/characters/" + item.type + "/" + item.id + "/";
var url = "{% url 'characters:monster_detail' monster_pk=999999999999 %}".replace(999999999999, item.id).replace(/monster/g, item.type);
}
return "<a href='" + url + "'>" + item.name + "</a>";
}
Expand Down

0 comments on commit a05069a

Please sign in to comment.