[Dbix-class] Documentation bug: catalyst::request

Toby Corkindale tjc at wintrmute.net
Wed Oct 18 13:37:24 CEST 2006


Bug in Catalyst::Request.
It says:
  $req->action
       Returns the requested action as a Catalyst::Action object.

However, it just returns the "action", (ie. foo/bar).

To get a genuine Catalyst::Action object, you need to call $c->action.


-Toby


-- 
Turning and turning in the widening gyre/The falcon cannot hear the falconer;
Things fall apart, the centre cannot hold/Mere anarchy is loosed upon the world
(gpg --keyserver www.co.uk.pgp.net --recv-key B1CCF88E)



More information about the Dbix-class mailing list