chore: update module
This commit is contained in:
@@ -22,9 +22,9 @@ class DevelopServiceProvider extends CatchModuleServiceProvider
|
||||
*
|
||||
* @return string|array
|
||||
*/
|
||||
public function routePath(): string|array
|
||||
public function moduleName(): string|array
|
||||
{
|
||||
// TODO: Implement path() method.
|
||||
return CatchAdmin::getModuleRoutePath('develop');
|
||||
return 'develop';
|
||||
}
|
||||
}
|
||||
|
@@ -10,11 +10,11 @@ class {Module}ServiceProvider extends CatchModuleServiceProvider
|
||||
/**
|
||||
* route path
|
||||
*
|
||||
* @return string|array
|
||||
* @return string
|
||||
*/
|
||||
public function routePath(): string|array
|
||||
public function moduleName(): string
|
||||
{
|
||||
// TODO: Implement path() method.
|
||||
return CatchAdmin::getModuleRoutePath('{module}');
|
||||
return '{module}';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user