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']);
 
PREVIOUS NEXT
Tagged: #Redirect #action #controller #method #Laravel
ADD COMMENT
Topic
Name
7+7 =