I want to return to my modal dialog edit form to show validation errors but using Redirect::back I just end up at the HTML page without the modal window.
Redirect::back
I
This worked for me.
In my modal:
@if (count($errors) > 0) Error @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif .... rest of modal window code In my view: In my controller I simply redirected back to the view as normal. 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
In my view:
In my controller I simply redirected back to the view as normal.