fixed URL when adding an indexer

This commit is contained in:
Mark McDowall 2014-01-07 17:29:43 -08:00
parent 332136bc6f
commit e00b216eef
2 changed files with 12 additions and 12 deletions

View file

@ -33,7 +33,7 @@ define(
schemaCollection.url = StatusModel.get('urlBase') + '/api/indexer/schema';
schemaCollection.fetch({
success: function (collection) {
collection.url = './api/indexer';
collection.url = StatusModel.get('urlBase') + '/api/indexer';
var model = _.first(collection.models);
model.set({