Update NewsResource to route index page to ManageNews instead of ListNews for improved resource management.

This commit is contained in:
2025-07-29 12:47:44 +05:00
parent b9bc8fbcee
commit d4403ce365

View File

@@ -118,7 +118,7 @@ class NewsResource extends Resource
public static function getPages(): array
{
return [
'index' => Pages\ListNews::route('/'),
'index' => Pages\ManageNews::route('/'),
'create' => Pages\CreateNews::route('/create'),
'edit' => Pages\EditNews::route('/{record}/edit'),
];