Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel route returning error 404 when attempt is made to pass value to controller function

// php artisan route:list
  
// php artisan optimize:clear
  
public function showCust( $loanApplicationCustId)
{
    
    $customerInformation = customerInfoModel::where('Cust_id', $loanApplicationCustId))->first();
     
    return view('admin.loanApplictions.showCustView', compact(['customerInformation', 'loanApplication']));
}
 
PREVIOUS NEXT
Tagged: #Laravel #route #returning #error #attempt #pass #controller #function
ADD COMMENT
Topic
Name
3+4 =