Fix error with /robots route in API

This commit is contained in:
Andrew Stewart 2014-03-25 10:15:41 -07:00
parent cdf309afe2
commit 2acc07b443
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ namespace("Cylon", function() {
var robot;
return res.json((function() {
var _i, _len, _ref, _results;
_ref = master.robots();
_ref = master.robots;
_results = [];
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
robot = _ref[_i];