dongni8124 2014-08-08 03:20
浏览 73
已采纳

在Laravel 4之前重定向到url最后一个动作

I have a route which runs a scritpt and I want to finish running when the redirect url where it came from such action, as this route is associated controller pordra even be accessed for execution from different sites of application

eg

index -> running Routing-> terminates and redirects to index.

post -> running Routing-> terminates and redirects to post.

...

bone according to redirecting from where the action

my question is whether there is some method in laravel 4 to capture the url or path where the application is to run the script?

  • 写回答

2条回答 默认 最新

  • dongshi1188 2014-08-08 03:35
    关注

    Do you mean Redirect::back()?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部