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

(This post was last modified: 07-07-2021, 04:49 AM by [email protected].)

Code:
$routes->get("dashboard", "DashboardController::index", ["namespace" => "\Modules\dashboard\Controllers\Admin"], ["filter" => "auth"]);

In theĀ Above route namespace is work and filter is not work.
Code:
$routes->get("dashboard", "DashboardController::index", ["filter" => "auth"], ["namespace" => "\Modules\dashboard\Controllers\Admin"]);

In the Above route filter is work and namespaceĀ is not work.


I want both namespace & filter then what is the issue in above routes?
Reply


Messages In This Thread
routes with namespace & filter not work proper - by [email protected] - 07-06-2021, 10:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB