first upload all files
This commit is contained in:
21
Modules/Setting/Config/assets.php
Normal file
21
Modules/Setting/Config/assets.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Define which assets will be available through the asset manager
|
||||
|--------------------------------------------------------------------------
|
||||
| These assets are registered on the asset manager
|
||||
*/
|
||||
'all_assets' => [
|
||||
'admin.setting.js' => ['module' => 'setting:admin/js/setting.js'],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Define which default assets will always be included in your pages
|
||||
| through the asset pipeline
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
'required_assets' => [],
|
||||
];
|
||||
7
Modules/Setting/Config/permissions.php
Normal file
7
Modules/Setting/Config/permissions.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'admin.settings' => [
|
||||
'edit' => 'setting::permissions.edit',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user