Hello,
They could accept this PR (#179), it would be very useful for example to create file managers, not forcing to always have a path from the base path.
In the current situation the url would have to be like this
/file/{path:[A-Za-z0-9\/]+}/{file:[\w,\s-]+\.[A-Za-z]{3,4}}
with this expression I can make these routes
files/mandatory-folder/file.jpg
files/obligatory-folder/another-folder/file.jpg
but i can't do
files/file.jpg
since path is always required.
Thanks for the work.
Hello,
They could accept this PR (#179), it would be very useful for example to create file managers, not forcing to always have a path from the base path.
In the current situation the url would have to be like this
/file/{path:[A-Za-z0-9\/]+}/{file:[\w,\s-]+\.[A-Za-z]{3,4}}with this expression I can make these routes
but i can't do
files/file.jpgsince path is always required.
Thanks for the work.