Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下 URI:
http://localhost/testcart/products/cpa/1
在哪里
cpa = URI::segment(2) 1 = URI::segment(3)
发布后我如何重定向回此 URL。
我试过了
return Redirect::to('products/'.URI::segment(2).'/'.URI::segment(3)) return Redirect::to(URL::current())
似乎没有一个工作。
退货怎么样Redirect::back()
Redirect::back()