laravel/folio

Nested model route binding keeps disabling views

gdsrmygdsrjr opened this issue · 3 comments

Folio Version

1.1.3

Laravel Version

10.28.0

PHP Version

8.2.10

Description

When using Folio I'm unable to display a create page when a subfolder [id] exists.
The index page is however correctly displayed.

Steps To Reproduce

Here's what my pages folder look like:
Captura de tela 2023-10-10 200036

And here's what php artisan folio:list shows:
Captura de tela 2023-10-10 200443

The admin/properties/index.blade.php works perfectly
The admin/properties/[id]/index.blade.php works perfectly
The admin/properties/[id]/edit.blade.php works perfectly
The admin/properties/create.blade.php ERROR, it is working as admin/properties/[id]/index.blade.php, as I show below:
Captura de tela 2023-10-10 200943

If I remove the "admin/properties/[id]" folder the create page is displayed.

Can you create an Laravel application that faces this issue, push it to GitHub, an give me the link so I can try it locally please?

Of course! it's here: folio-issue-project

Duplicated of #120.