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 <
kevinpfro...@gmail.com> 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"*