1 00:00:00,330 --> 00:00:05,610 To fix the problem, instead of redirect the items here, we are going to. 2 00:00:07,050 --> 00:00:15,120 We turn to a Jason responds by using by returning to Jason object redirect. 3 00:00:17,370 --> 00:00:19,950 And because we want to go back to the. 4 00:00:21,180 --> 00:00:23,350 Items page, which is their interest. 5 00:00:23,760 --> 00:00:25,260 So we copy this one. 6 00:00:26,380 --> 00:00:27,550 And here. 7 00:00:31,350 --> 00:00:35,120 So now if we go back to the index item page. 8 00:00:36,930 --> 00:00:42,900 So if we go back to the item detail page and then we're going to get a response. 9 00:00:45,290 --> 00:00:48,050 And then we treat this the jury, some object. 10 00:00:49,410 --> 00:00:50,040 And then. 11 00:00:51,310 --> 00:01:02,620 We've got this data and then we try to download the data now for us, we go to add the new item and 12 00:01:02,620 --> 00:01:04,290 then we open the developer produce. 13 00:01:05,430 --> 00:01:12,510 And then we go to the toilet now, you see it has the data, our items, so now we are going to use 14 00:01:12,510 --> 00:01:16,140 this data and then redirect to the home page. 15 00:01:16,470 --> 00:01:24,600 So we type window bult location where is equal to the data we direct. 16 00:01:25,500 --> 00:01:36,330 Now, if we go back to the home page and add the items again, we had a phone and then we type one thousand 17 00:01:37,020 --> 00:01:42,870 and at the items now we go to the detail page and then we press delete. 18 00:01:43,320 --> 00:01:45,840 Now you go to the items. 19 00:01:46,360 --> 00:01:51,140 This is because there is something wrong here because we should not use this. 20 00:01:51,570 --> 00:01:58,610 This is for posting the new items we should use to get items or even just for us. 21 00:01:59,130 --> 00:02:06,240 So we use to get items and then we try to add the phone again. 22 00:02:06,540 --> 00:02:09,780 Now we go to the detail page and press delete. 23 00:02:11,990 --> 00:02:19,370 Now you can see it go to the homepage and you can see there are no items here, so refresh the page 24 00:02:19,370 --> 00:02:21,710 and also update the number of items.