FIX:Cambio de permiso module a modules
This commit is contained in:
parent
09d80e6726
commit
3bc216d28e
@ -21,10 +21,10 @@ class ModuleController extends Controller implements HasMiddleware
|
|||||||
public static function middleware(): array
|
public static function middleware(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
self::can('module.index', ['index']),
|
self::can('modules.index', ['index']),
|
||||||
self::can('module.show', ['show']),
|
self::can('modules.show', ['show']),
|
||||||
self::can('module.destroy', ['destroy']),
|
self::can('modules.destroy', ['destroy']),
|
||||||
self::can('module.toggle_status', ['toggleStatus']),
|
self::can('modules.toggle_status', ['toggleStatus']),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user