router icon indicating copy to clipboard operation
router copied to clipboard

mount vars

Open aminpypc opened this issue 3 years ago • 1 comments

success:

$router->mount('/video', function () use ($router) {
	$router->get('/([\w_\d]+)', function ($id) {
		echo 'video '.$id;
	});
});

error:

$router->mount('/video/([\w_\d]+)', function ($id) use ($router) {
	$router->get('/', function () use ($id) {
		echo 'video '.$id;
	});
});

why ???

aminpypc avatar May 01 '22 07:05 aminpypc

exactly, @bramus, will there be a fix for that?

aolko avatar Jan 24 '23 10:01 aolko