Laravel 4.2路由重定向无法正常工作

In my LoginController I have

return Redirect::route('admin.login.index')->withInput(Input::except('password'));

But instead of redirecting me to

http://site_corporate/admin/login

it redirects to

http://site_corporate/http://site_corporate/admin/login

This one works as expected:

return Redirect::to('admin/login')->withInput(Input::except('password'));

but I want to use named routes instead of this.

查看全部
dseomy1964
dseomy1964
2014/08/07 12:10
  • redirect
  • php
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复