li3_resources
li3_resources copied to clipboard
Fix routing with no action or id error AND add extendable URL key matches
Adding the 'id' parameter with a null value, in the router::connect() params, fixed an error I was seeing when you'd link to the controller, but no action or id was given (which should show all). It was, instead, causing an error that didn't return anything except 500 Internal Server Error.
Also, added the ability for users to insert their own URL matches against the ID key. This will help in instances where UUID ID's are used or other specific ID formats.
I'd love to see a test for this.