search for: chain_to_path

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

2006 Jun 13
0
Mixing dynamic and static content in routing
...iations to "link" differend resources (a free form page, a course description and so on) to the nodes. In my routes.conf I have map.connect ''/homepage/*path_info'', :controller => "index", :action => "show_node" and path_to_chain(path) and chain_to_path(ary) methods in the node class for generating a hierarchy of nodes from a path and a path from a hierarchy of nodes respectively. The node hierarchy is completely configurable by the user (adding and removing nodes, turning node visibility on and off, reordering). This covers most of what I...