You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Route [filament.admin.resources.albums.index] not defined.
Guava\FilamentNestedResources\Pages\CreateRelatedRecord.php
`protected function getRedirectUrl(): string
{
$resource = $this->getNestedResource($this->getRecord());
if ($resource::hasPage('view') && $resource::canView($this->getRecord())) {
return $resource::getUrl('view', ['record' => $this->getRecord(), ...$this->getRedirectUrlParameters()]);
}
if ($resource::hasPage('edit') && $resource::canEdit($this->getRecord())) {
return $resource::getUrl('edit', ['record' => $this->getRecord(), ...$this->getRedirectUrlParameters()]);
}
return $resource::getUrl('index');
}`
It seems when I remove the index page as mentioned in demo page it shows a error in create page it will try to find the index page and shows a error.
How to reproduce the bug
remove index and create page
Package Version
1.2.0
PHP Version
8.3.8
Laravel Version
11.14.0
Which operating systems does with happen with?
No response
Notes
No response
The text was updated successfully, but these errors were encountered:
What happened?
Route [filament.admin.resources.albums.index] not defined.
Guava\FilamentNestedResources\Pages\CreateRelatedRecord.php
`protected function getRedirectUrl(): string
{
$resource = $this->getNestedResource($this->getRecord());
How to reproduce the bug
remove index and create page
Package Version
1.2.0
PHP Version
8.3.8
Laravel Version
11.14.0
Which operating systems does with happen with?
No response
Notes
No response
The text was updated successfully, but these errors were encountered: