Re: [Catalyst] Where am I? ;-)

2009-02-19 Thread Peter Karman
Jens Schwarz wrote on 02/19/2009 12:13 AM: > Hi, > > with this somewhat philosophic question, I want to know, how a > Controller knows, which of its action is currently active (p.ex. > displayed to the user). http://search.cpan.org/~mramberg/Catalyst-Runtime-5.71000/lib/Catalyst.pm#$c->action A

Re: [Catalyst] Where am I? ;-)

2009-02-18 Thread Felix Antonius Wilhelm Ostmann
I think more interesting is the question about: which action can the user visit? With different roles not every user could visit /admin, but it would be great to know that while building the navigation/links. And only configurate that at one point! sub admin :Local :ACL('role:admin') {...} An

[Catalyst] Where am I? ;-)

2009-02-18 Thread Jens Schwarz
Hi, with this somewhat philosophic question, I want to know, how a Controller knows, which of its action is currently active (p.ex. displayed to the user). And a similar question: How does the root controller know what other controllers are available in the app? Thanks Jens -- Pt! Schon v