Won't that fail with a NameError when it tries to evaluate
Admin::PagesController in 0.6.9?

Here's a succinct, if not pretty, way of doing it (untested on edge, but it
seems right):

    (Admin::PagesController rescue Admin::PageController).send :include, ...

--Erik


On Fri, Dec 19, 2008 at 6:44 AM, Tim Gossett <t...@mrgossett.com> wrote:

> It looks like this works:
>
> (Admin::PagesController ? Admin::PagesController :
> Admin::PageController).send :include, PageAttachmentsInterface
>
> Simple enough, right?
>
> --
> Tim
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to