how-to-pass-variable-to-controller-using-route-in-laravel

Questionshow-to-pass-variable-to-controller-using-route-in-laravel
anuj asked 3 weeks ago

1 Answers
Staple answered 3 weeks ago

Below is the code:-   Route::get(\'{post}\’, array(\’as\’ => \’post\’, \’uses\’ => \’PostController@index\’)) ->where(\’post\’, \’main\’);

Your Answer

Related Posts

Begin typing your search above and press enter to search. Press ESC to cancel.

Back To Top