Is it possible to disable the resource index page?

I am working on a novel reading app where a novel can have many series and a series can have many chapters. I've structured my app in the following way.
  1. The NovelResource has a relation manager with Series where I've only added a custom view action which redirects the user to filament.admin.resources.series.view route when clicked and passes the model ID as route parameter.
  2. I've created a SeriesResource with only view and edit page and removed the create and index entries from the getPages function in SeriesResource. I've also hidden the resource from navigation by setting $shouldRegisterNavigation to false on the SeriesResource
  3. When user is redirected to the series view page (filament.admin.resources.series.view) it throws an error saying the route filament.admin.resources.series.index is not defined. I do not want this page to be created or accessible by anyone because user will list the Series via NovelResource's SeriesRelationManager and cannot directly access the main page.
  4. How can I completely disable the index route for SeriesResource? I know it uses the index page link in breadcrumb and the Cancel button but I want to change it to the parent novel page.
Any help would be much appreciated.
Was this page helpful?