         # need['start-time'] = need.start
         # need['end-time'] = need.end#.format()
         $http({
-          url: "/api/v1/needs/" + niceNeed.id + '.json'
+          url: "/api/calendar/needs/" + niceNeed.id + '.json'
           dataType: "json",
           method: "PUT",
           headers: {

        # need['start-time'] = need.start
        # need['end-time'] = need.end#.format()
        $http({
          url: "/api/v1/needs.json",
          dataType: "json",
          method: "POST",
          headers: {

        # need['start-time'] = need.start
        # need['end-time'] = need.end#.format()
        $http({
          url: "/api/calendar/needs/" + need.id + '.json'
          dataType: "json",
          method: "DELETE",
          headers: {
