I have a dynamic route for individual user /profiles. I expected it would be possible to override this route for /profiles/all but apparently not.

This can be achieved in the template I expect, with a conditional statement on the url .segment(2), but it would save a little time if it was possible to override a wildcard route.

enter image description here


Sort order matters, move the more specific route up and you should be good. Alternativly set it up in routes.php using some regular expressions.

  • Ah! That actually makes sense when I think about it, working now ... thanks!
    – Rob
    Oct 12 '15 at 23:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.