* Matija Grabnar <[email protected]> [2009-08-09 16:35]:
> If not, what do I have to change to have both index and default
> in my root controller?

Do you *need* both in the same controller? Since you can attach
the root action of a Chained tree to any point in your URI space,
there is no need to have anything but a few infrastructure
actions in the ::Root controller. Mine has only the app-wide
`begin`, `default` and `end`, plus a `error404` action (for
forwarding to) and `login` and `logout`. Everything else is in
specific controllers, rather than in the catch-all ::Root, and
none of the other controllers have these special actions.

And that works perfectly.

This doesn’t *fix* the problem you found, of course – assuming
that it is a problem at all, and assuming it can even be fixed
at this point.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to