jeudi 22 septembre 2016

Passing variable with route Laravel 5.2

I have this in my form in the viewpage.php:

<form action="" method="POST" >

And this in the route.php:

Route::post('/testing/',[
    'uses' => 'TestController@testMethod', 
    'as' => 'test.route'
]);

And this is my TestController:

public function avaliarSubordinor(Request $request, $uid){
    return $uid;
}



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire