Level 1
@vlauciani it works as described in documentation when used inside prefix group function:
$app->group(['prefix' => 'admin'], function ($app) {
$app->get('users', function () {
// Matches The "/admin/users" URL
});
});
Hi all
Looking the Route Prefixes here: http://lumen.laravel.com/docs/routing#route-group-prefixes
the "app" variable is Undefined into:
$app->get('users', function () {
// Matches The "/admin/users" URL
});
Is this correct?
Thank you.
Please or to participate in this conversation.