In such case, do I have to keep the routes with explicit table names above the ones with parameters? Because I know that it will lookup the first match. I just don't want to rely on the order of the routes. So maybe there is a better way to make it match so that the order won't affect anything?
Thanks, and is this situation normal? I just feel that if I reached this point where I need to rely on the order then something is wrong with my code, but might be just my feeling?
I just feel that if I reached this point where I need to rely on the order then something is wrong with my code, but might be just my feeling?
This is how we ensure the Request is correctly routed - higher specificity routes first, then generic routes which catch anything not already matched (for a given URI schema)