AngularJS: cars.constants.js, URI trailing slashes matters!!!
authorgustavo <gu.martinm@gmail.com>
Sat, 6 Feb 2016 12:45:49 +0000 (13:45 +0100)
committergustavo <gu.martinm@gmail.com>
Sat, 6 Feb 2016 12:45:49 +0000 (13:45 +0100)
angularjs/showcase/src/showcase/app/cars/cars.constants.js

index b127b85..88d5a32 100644 (file)
@@ -6,7 +6,7 @@
   angular
     .module('app.cars')
     .constant('API', {
-      CARS: prefix + 'api/cars',
+      CARS: prefix + 'api/cars/',
       CAR: prefix + 'api/cars/:carId'
     });