Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how pass optional route parameter in laravel

Route::get('/user/{active?}', 'UserController@getUsers');
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #pass #optional #route #parameter #laravel
ADD COMMENT
Topic
Name
2+6 =