Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

redirect from controller to named route with prams in URL

return redirect()->route('route.name', [$param]);

return redirect()->route('home', [$lang])->with('orderSuccess', __('bsw.successStatus'));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #redirect #controller #named #route #prams #URL
ADD COMMENT
Topic
Name
7+5 =