Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Redirect action to certain controller method in Laravel

return redirect()->action([controllerPath::class, 'classMethod'], ['dataParameter' => 'if exist']);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #Redirect #action #controller #method #Laravel
ADD COMMENT
Topic
Name
3+7 =