title: PUT ERROR 404 (Not Found) in playframework with restangular
body: <p>I have a list of customers diplayed in a table, and I'm using the same modal for add and update a customer so I do a test on the id to distinct if the click on the button  "add" is for adding or updating :</p>
  
  <pre><code>$scope.saveCustomer = function(customer){
  
      if ($scope.customer.uid){
          $scope.customer = customer;
          $scope.customer.contacts = customer.contacts;
          $scope.customer.put();
  }
  else{
          Restangular.all("customer").post(customer).then(function() {
          $scope.customerList.push(customer);
          console.log("success");
      },function(response){
          console.log(response);
      });
  }
  };
  </code></pre>
  
  <p>the add is working well but for the put I get this error :</p>
  
  <p><a href="https://i.stack.imgur.com/BOynZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BOynZ.png" alt="enter image description here"></a></p>
  
  <p>UPDATE:</p>
  
  <p>I should mention that I have a list contact in the customer object, so when I update my customer I update also some fields of Contact, and I'm using mongodb and I tested the put method on postman and it's working well</p>