[Catalyst] Shortcut to Model ?
Brandon Black
blblack at gmail.com
Mon Jan 23 20:19:49 CET 2006
On 1/23/06, Alan Humphrey <alan.humphrey at comcast.net> wrote:
> Maybe it's because I'm using that funky DBIx::Class schema stuff but
> $c->model returns 'BirdWeb::Admin::Model::BirdWebSchema::Attributes'.
>
> This is a table class name, not a model.
>
> What *should* be there?
>
$c->model('BirdWebSchema')
Should return the model object/class/whatever for
"BirdWeb::Admin::Model::BirdWebSchema"
-- Brandon
More information about the Catalyst
mailing list