lib/nestene/ui/public/app/application.js in nestene-0.1.4 vs lib/nestene/ui/public/app/application.js in nestene-0.1.5
- old
+ new
@@ -2,10 +2,10 @@
var nestene = angular.module('nestene', ['JSONedit']);
nestene.service('AutonTypes', function($http, $q) {
- this.types = $http.get('/auton_types');
+ this.types = $http.get(window_location + 'auton_types');
});
nestene.controller('AutonsController', function($scope, $http, $timeout) {
$scope.autons=[];