On Apr 19, 2012, at 12:24 PM, Wikus van de Merwe wrote:
> Hmmm... So how does the router know if /abc is (1) function - 
> /default_app/default_controller/abc or (2) argument - 
> /default_app/default_controller/default_function/abc?

If you supply a functions list, then it's a function if it's in the list; 
otherwise not. If you don't supply the functions list, then it's always a 
function (if present).

Example. Suppose abc is a function and you declare it. An outgoing URL for 
/a/c/abc/xyz will be rewritten /xyz (assume /a/c/abc are the defaults). But if 
there's a (declared) function def, an outgoing URL /a/c/abc/def will be 
rewritten /abc/def, because omitting abc in this case would cause def to be 
interpreted as a function.

Reply via email to