Closed maximzasorin closed 6 years ago
same problem. the actual problem is this. cannot pass it $app
@maximzasorin @dusterio @dcdebrabander
@maximzasorin routes() method is practically identical to Laravel Passport routes() method, Laravel Passport got only two parameters as well? $callback can be a function or an app container
Method LumenPassport::routes needs to be modified for ability to take
$callback
argument as in Laravel\Passport::routes.For example:
This will allow configure only necessary routes.