search for: tree_navigation

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

2006 Aug 01
0
persisting tree navigation
...'', :post => true %><br /> <% end %> &raquo;<%= link_to ''new Child'', :action => ''newChild'', :id => parent %><br /> </div> <% end %> and then this is in the controller: def edit_page tree_navigation if params[:id] @page = Page.find(params[:id]) else @page = Page.find(:first) end @text = @page.text if @text == nil @text = ''enter some text'' end render :action => ''list'' end def tree_navigation @pages = P...