AthroHiro
AthroHiro
FFilament
Created by AthroHiro on 7/10/2024 in #❓┊help
delete index
The documentation says that we can delete any resource page we want (https://filamentphp.com/docs/3.x/panels/resources/getting-started#deleting-resource-pages), however when I delete the index page of my CompanyResource I get the following error:
Route [filament.companies-panel.resources.companies.index] not defined.
Route [filament.companies-panel.resources.companies.index] not defined.
I initially made a custom page but very soon I noticed some major disadvantages, f.e I downloaded the Apex Chart plugin and when initliazing a new chart the CLI asks for a resource, but when using a custom page you don't have one. So I decided to use a resource, the only page a logged in user is allowed to see is the edit page. So I wanted to disable the index and view pages. But than I run into the problem I mentioned before. What is the best way to achieve this scenario: a custom panel for companies, a company can login and edit just their own company fields and also see and edit their employees which do have a table but must also be addable/edditable in the edit company view using a relationmanager.
13 replies