How to install shield for only one module in codeigniter 4 project? #905
Unanswered
nguyennamit
asked this question in
Q&A
Replies: 1 comment 3 replies
-
edit Routes.php : $routes->group('admin', ['filter'=> 'session'], static function ($routes) {
// e.g
$routes->get('panel', 'AdminPanel::index', ['filter'=> 'group:admin']);
service('auth')->routes($routes);
}); |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am building a project using codeigniter 4, it has 2 modules: Admin (this is the section for administrators) and Guest (this is the section for users). I want to use Shield to run only the Admin module, is it possible? and how do I install it?
Beta Was this translation helpful? Give feedback.
All reactions