Tự học Laravel: (20) SCOPE

Last time , you can add articles to Article and check for errors when adding. Article data has also increased, so I would like to correct the article list a bit. Currently, there are two issues with article listings. One is that a new article is displayed at the bottom, and the other is that it is displayed even if the published date (published_at) is set to a future date. This time we fix these two points.

Continue reading