Closed benkingcode closed 4 years ago
Cool, made your suggested change! The tests all passed locally for me so not sure why Travis is showing a failure.
Thanks! Looks like a temporary failure - knowing Laravel they probably had something breaking in their releases which they've then fixed.
I noticed when I set my
url.namespace
toapi/v1/{tenant}
, if thetenant
param was bound to a model the generated URLs would contain the JSON serialization, like so;With this fix, bound models correctly use the route key;