[Radiant] map.resources and radiant admin
Sean Cribbs
seancribbs at gmail.com
Tue Apr 3 18:20:28 CDT 2007
map.resources :testimonials, :path_prefix => "/admin"
Try that. ;)
Sean
On 4/3/07, Karl Doody <kdoody at mac.com> wrote:
> Has anyone got map.resources to work within Radiant admin/extensions.
> The problem I have is that if I:
>
> map.resources :testimonials
>
> ...everything works fine but everything operates out of /testimonials
> not /admin/testimonials which means that when I create a page with a
> slug of 'testimonials' it all fails horribly when I try to visit that
> page (because it is calling the resourced controller not the radiant
> page).
>
> I could go back to Rails's :controller/:action's but thought I'd give
> this a go (and my present app does use it to an elegant end).
>
> Any one with any experience of this?
>
> Kind regards,
> -Karl
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
More information about the Radiant
mailing list