为什么不解答一下这个简写?
return redirect('login');
我相信应该等同于下面吧?好像没有解释一下,为什么可以这么写redirect('login'),这个参数对应的是路由name?
return redirect()->route('login');
推荐文章: