修正用户文章详情显示错误 (#178)

Co-authored-by: garhing <garhing@fxxsj.xyz>
This commit is contained in:
fxxsj
2021-06-18 20:09:10 +08:00
committed by GitHub
parent 0bd05122fb
commit b870286770

View File

@@ -130,7 +130,7 @@ class UserController extends Controller
// 公告详情
public function article(Article $article)
{
return view('user.article', compact($article));
return view('user.article', compact('article'));
}
// 修改个人资料