From fdcec9824279fc9e8f9ff20c28a80912d98745ef Mon Sep 17 00:00:00 2001 From: gustavo Date: Sat, 6 Feb 2016 13:45:49 +0100 Subject: [PATCH] AngularJS: cars.constants.js, URI trailing slashes matters!!! --- angularjs/showcase/src/showcase/app/cars/cars.constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angularjs/showcase/src/showcase/app/cars/cars.constants.js b/angularjs/showcase/src/showcase/app/cars/cars.constants.js index b127b85..88d5a32 100644 --- a/angularjs/showcase/src/showcase/app/cars/cars.constants.js +++ b/angularjs/showcase/src/showcase/app/cars/cars.constants.js @@ -6,7 +6,7 @@ angular .module('app.cars') .constant('API', { - CARS: prefix + 'api/cars', + CARS: prefix + 'api/cars/', CAR: prefix + 'api/cars/:carId' }); -- 2.1.4