to option in a layout
Hi !
I use a link in a layout (that means I will never be directly on this route but on its child routes)
In this link, I'm using the layout route as from option and using relative path in to option.
The problem is that the to relative path is not added to the from path but to the current path. That means If I want to use a Link to "route2" in "/app/route3" it will result in "/app/route3/route3" instead of "/app/route2" in the case where /app is the layout from where the links are.
Is this normal or it is a bug ? Thank you.
I use a link in a layout (that means I will never be directly on this route but on its child routes)
In this link, I'm using the layout route as from option and using relative path in to option.
The problem is that the to relative path is not added to the from path but to the current path. That means If I want to use a Link to "route2" in "/app/route3" it will result in "/app/route3/route3" instead of "/app/route2" in the case where /app is the layout from where the links are.
Is this normal or it is a bug ? Thank you.