Welcome Guest, Not a member yet? Register   Sign In
routes with namespace & filter not work proper
#3

Not 100% sure, but as far as I understand the documentation your filter and namespace options should be an array

PHP Code:
$routes->get("dashboard""DashboardController::index", ["namespace" => "\Modules\dashboard\Controllers\Admin","filter" => "auth"]); 
A good decision is based on knowledge and not on numbers. - Plato

Reply


Messages In This Thread
RE: routes with namespace & filter not work proper - by salain - 07-07-2021, 12:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB