lundi 11 novembre 2019

How to pass request parameter with post method from a controller to another controller method in Laravel?

I want to call the method of B controller from Acontroller.So I used this method

return redirect()->action('UserController@subscribe()');

But here I am facing an issue here. I want to pass below param as in request body to above subscribe()

 $package_id = session('package_id');
 $package_type = session('package_type');

Please help me out how can I pass above param in request in laravel



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire