📜  laravel 将消息重定向到部分 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:25.148000             🧑  作者: Mango

代码示例2
//redirct to previous page with message at a specific setion :)
return redirect(url()->previous() .'#comments')->with('success', 'Data Your Comment has been created successfully');