Hello guys, I was facing the same issue with angular 1.1.4...
In a urgency I made these modifications:
- Opened file angular-resource.js and removed the code ".replace(/\/*$/, '')" on line 363|
- Modified my resources to have double trailing slash like below:
var myApp = angular.module('usuarios', ['ngResource'])
.factory('Usuario', function($resource){
var actions = {
'edit': { method:'PUT' }
};
return $resource('/app/usuario/:id//', {id:'@id'}, actions);
})
After those changes it worked for me... quite ugly, I agree, but I need this system to be operating tomorrow and had no time to change all my code to $http... if anyone is in the same situation, this workaround can be useful.