Update NewsResource to route index page to ManageNews instead of ListNews for improved resource management.
This commit is contained in:
1 parent
b9bc8fbcee
commit
d4403ce365
1 file changed
+1
-1
@@ -118,7 +118,7 @@ public static function getRelations(): array
|
|||||||
public static function getPages(): array
|
public static function getPages(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'index' => Pages\ListNews::route('/'),
|
'index' => Pages\ManageNews::route('/'),
|
||||||
'create' => Pages\CreateNews::route('/create'),
|
'create' => Pages\CreateNews::route('/create'),
|
||||||
'edit' => Pages\EditNews::route('/{record}/edit'),
|
'edit' => Pages\EditNews::route('/{record}/edit'),
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in new issue
Block a user