Hope you're all well, =).

Do any of you know what the best way to find an action name, via a public path, 
may be?
I found $c->dispatcher->get_action_by_path($path) only works for private paths 
internal to our app.

So for example, if we have:
...I've got the string "coolpage" and I want to call the associated action 
within my catalyst app.
I thought it would be more secure to use the string to look up a corresponding 
action name / subroutine, and then call that subroutine, rather than call a 
request for whatever happens to be in the string.

Any advice, appreciated.

Many thanks,

Andrew M.

List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to