Commit 800df29a by Suma Shivaprasad

ATLAS-282 Atlas UI: Entity Details UI is broken after the changes in ATLAS-58(ayubkhan via sumasai)

parent e4543de6
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
'use strict'; 'use strict';
angular.module('dgc.details').factory('DetailsResource', ['$resource', function($resource) { angular.module('dgc.details').factory('DetailsResource', ['$resource', function($resource) {
return $resource('/api/atlas/entity/:id', {}, { return $resource('/api/atlas/entities/:id', {}, {
get: { get: {
method: 'GET', method: 'GET',
transformResponse: function(data) { transformResponse: function(data) {
...@@ -31,11 +31,11 @@ angular.module('dgc.details').factory('DetailsResource', ['$resource', function( ...@@ -31,11 +31,11 @@ angular.module('dgc.details').factory('DetailsResource', ['$resource', function(
}, },
saveTag: { saveTag: {
method: 'POST', method: 'POST',
url: '/api/atlas/entity/:id/traits' url: '/api/atlas/entities/:id/traits'
}, },
detachTag : { detachTag : {
method: 'DELETE', method: 'DELETE',
url: '/api/atlas/entity/:id/traits/:tagName' url: '/api/atlas/entities/:id/traits/:tagName'
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment