tuanan94 / AMS

AMS CP
1 stars 1 forks source link

Post bài viết #3

Closed tuanan94 closed 8 years ago

tuanan94 commented 8 years ago

Sau khi post xong bị error: screen shot 2016-05-22 at 12 46 16 pm

Suggestion:

  1. Khi load Home/Timeline thì anh có bỏ allPost vào ViewBag. Nhưng sau khi thực hiện request xong thì ko có bỏ vào. => Sau khi do request thì return RedirectToAction("Timeline") thay vì return View
  2. Và cái a đang dùng là POST method. Em đâu thấy câu ajax nào đâu
binhhtse commented 8 years ago

Lúc đầu khi thực hiện post bài thì anh dùng post, sau này khi làm comment thì thấy dùng ajax hợp lý hơn

Vào Chủ Nhật, ngày 22 tháng 5 năm 2016, AnTTSE61258 < notifications@github.com> đã viết:

Assigned #3 https://github.com/AnTTSE61258/AMS/issues/3 to @binhhtse https://github.com/binhhtse.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/AnTTSE61258/AMS/issues/3#event-668139159