Fix redirect egg
This commit is contained in:
parent
82202efb3c
commit
e7c5480fc8
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class EggController extends Controller
|
|||
$mobas = TraceaEgg::where('box_code', $id)->orderBy('box_code', 'DESC')->first();
|
||||
|
||||
if (!$mobas) {
|
||||
return redirect('/search');
|
||||
return redirect()->route('egg.search');
|
||||
}
|
||||
|
||||
$edes = $mobas->code_edes;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue