search for: label_context3_url

Displaying 1 result from an estimated 1 matches for "label_context3_url".

Did you mean: label_context1_url
2006 Aug 08
1
Named routes and url generation?
...the same page of my application, I want to generate links for all the possible levels my controller can act... I.e. if I''m in context3 I want to provide links to context1, context2 and context3 urls So I''ve done something like label_context1_url params label_context2_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 excee...