use new similar.json endpoint

This commit is contained in:
Sanj 2011-08-31 19:14:26 +05:30
parent 7d38c16329
commit 2766aa3363

View File

@ -1,6 +1,6 @@
$(function() {
$.getJSON("/feature/search_related.json", {
'id': FEATURE_ID
$.getJSON("/feature/" + FEATURE_ID + "/similar.json", {
}, function(data) {
for (var i=0; i<data.length;i++) {
var $row = getRow(data[i]);