[Catalyst] Can't detach from root / create action object
Charlie Garrison
garrison at zeta.org.au
Wed Nov 27 22:47:06 GMT 2013
Good morning,
On 27/11/13 at 2:51 PM -0000, Craig Chant
<craig at homeloanpartnership.com> wrote:
>Or are there two single argument signatures to detach() one
>takes an Action object and one takes a URL path string?
Being pedantic here, but it doesn't accept a URL path; it
accepts an action path. Often they are the same, but they don't
need to be.
# in Root Controller
sub my_list :Path('list') { ... }
You would pass /my_list to detach, but the URL for that action
would be /list.
Charlie
--
Ꮚ Charlie Garrison ♊ <garrison at zeta.org.au>
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠 http://www.ietf.org/rfc/rfc1855.txt
More information about the Catalyst
mailing list