Ah ha ha ha ha ha!!!! OK, so the problem I think is that I had moved the controller to the admin site and forgot that I'd need a controller to define the :show action. I'm so stupid. Thanks for pointing me to my mistake. I was thinking "Well of course I have a show pa... oh crud..."
Thanks for the help on the DRYML. I have one question though. If I remove the one if below it works great. If I keep it in there, it will not render. I'm using the current pull from the git repo if that makes a difference. It doesn't crash the page or anything, just doesn't show the menu. On Nov 2, 9:54 pm, kevinpfromnm <[email protected]> wrote: > that seems like it should work as you have it. do you have a show page for > the posts controller? > > this is just minor suggestions to better use dryml's capacities for > clearer/DRYer code: > > <def tag="ministry-nav"> > <navigation class="ministry-nav" merge-attrs param="default"> > <repeat with="&MinistryCategory.all" if> > # the *if* tests for blankness of the current context if no condition is > given and no need to set an instance variable if you're not using it again > later > <h2 class="MinistryMenuCategories"><name/></h2> > <repeat:ministry_posts> > # shorthand for *field="ministry_posts"* > <a /><br/> > # the default of the <a> tag is to use the model's name if no content is > provided in the tag. > </repeat> > </repeat> > </navigation> > </def> -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
