XF 2.0 Route format :+

Liam W

in memoriam 1998-2020
Does the plus symbol do anything in the route format below?

Code:
:+int<resource_id,resource_title>/update/:+int<resource_update_id>/

I've looked through the code, but I can't see that it does anything to change the building (though I didn't look very hard, I'm slightly ill still, and comples regexes give me a headache at the best of times)...

Liam
 
Last edited:
I don't have the code in front of me right now, but it should make the match required. These matches are optional by default in most cases.
 
I don't have the code in front of me right now, but it should make the match required. These matches are optional by default in most cases.

Ah, it probably does - I wasn't looking very hard...

Liam
 
Back
Top Bottom