Level 1
This code error: Target class [can] does not exist.
Can I use some thing like this in my lumen routes/web.php?
$router->get('get_shops', [
'middleware' => ['can:kpi_shops'],
'uses' => 'KpiAppController@getShops'
]);
Please or to participate in this conversation.