FIX:Cambio de permiso module a modules

This commit is contained in:
Rubi Almora 2026-03-03 11:41:37 -06:00
parent 09d80e6726
commit 3bc216d28e

View File

@ -21,10 +21,10 @@ class ModuleController extends Controller implements HasMiddleware
public static function middleware(): array
{
return [
self::can('module.index', ['index']),
self::can('module.show', ['show']),
self::can('module.destroy', ['destroy']),
self::can('module.toggle_status', ['toggleStatus']),
self::can('modules.index', ['index']),
self::can('modules.show', ['show']),
self::can('modules.destroy', ['destroy']),
self::can('modules.toggle_status', ['toggleStatus']),
];
}