我正在构建一个Web应用程序,如果有人可以提供帮助,我会遇到技术问题。
我的应用有一个帖子模型。我希望用户能够在之前添加的两个帖子之间添加帖子。
例如:在视图中会出现以下帖子:
"this is the first post"
"this is the second post"
"this is the third post"
"this is the fourth post"
我希望用户能够在第一篇和第二篇文章之间添加帖子,以便视图显示:
"this is the first post"
"This is the last added post"
"this is the second post"
"this is the third post"
"this is the fourth post"
任何人都知道如何解决这个问题?