Displaying 1 result from an estimated 1 matches for "overf".
Did you mean:
over
2006 Aug 08
1
Named routes and url generation?
...ext2_url params
label_context3_url params
This code just returns n times the most complete url.
i.e. if I''m in context3 the code above will generate 3 identical urls
:context1/:context2/:context3/label
Can someone explain to me this beahviour?
my opinion is that if the *_url method is overfed with parameters that
exceed the parameters of the named route, the method will fallback on
a standard route generation returning the most complete url.
How can I force the *_url method to generate the url from the given named route?
Or, how can I ask a named route which parameters is able to tak...