Displaying 1 result from an estimated 1 matches for "label_context3".
Did you mean:
label_context1
2006 Aug 08
1
Named routes and url generation?
...n my application I''ve some named routes defined this way...
map.label_context1 '':context1/label'', :controller => ''mycontroller''
map.label_context2 '':context1/:context2/label'', :controller => ''mycontroller''
map.label_context3 '':context1/:context2/:context3/label'', :controller
=> ''mycontroller''
The controller for the 3 routes is the same but obviously it behaves
differently whether 1 or 2 or 3 contexts are given.
The routes and the controller just work fine BUT...
Now, on the sam...