[Catalyst] why is c.req.action missing leading slash?

Phil Mitchell seasprocket at gmail.com
Sat Aug 13 20:03:29 CEST 2005


Bug or feature? Or am I just completely confused?

For an action such as '/page/edit', c.req.action holds 'page/edit' --
I'm guessing that was done for a good reason, but it complicates my
usage. Right now I'm abstracting all action names out of my view
templates, so I have to worry about whether they have leading slash or
not.


-- 
==========================
2People Blog: http://2-people.blogspot.com/
2People site: http://www.2people.org



More information about the Catalyst mailing list