Installed laravel-permission and laravel-modules
This commit is contained in:
16
Modules/Karyawaf/start.php
Normal file
16
Modules/Karyawaf/start.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Register Namespaces and Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When your module starts, this file is executed automatically. By default
|
||||
| it will only load the module's route file. However, you can expand on
|
||||
| it to load anything else from the module, such as a class or view.
|
||||
|
|
||||
*/
|
||||
|
||||
if (!app()->routesAreCached()) {
|
||||
require __DIR__ . '/Http/routes.php';
|
||||
}
|
||||
Reference in New Issue
Block a user