Update NewsResource to route index page to ManageNews instead of ListNews for improved resource management.
This commit is contained in:
@@ -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'),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user