----- Original Message ---- > From: Ovid <publiustemp-catal...@yahoo.com>
> It doesn't work. $self is *always* a PIPs::C::API::V1::Franchise instance, > no > matter which URL is called. This appears to be because of this: > > [26 Feb 2009 15:07:40,509] [Catalyst.Dispatcher] [DEBUG] Loaded Private > actions: > > .-----------------------+--------------------------------------+--------------. > | Private | Class | Method > > | > > +-----------------------+--------------------------------------+--------------+ > ... > | /api/v1/franchise/doc | PIPs::C::Api::V1::Franchise | doc > > | I think that should actually have been this: [26Feb200915:07:40,514][Catalyst.DispatchType.Regex][DEBUG]LoadedRegex actions: .--------------------------------------+--------------------------------------. |Regex |Private | +--------------------------------------+--------------------------------------+ |/doc$ | /api/v1/franchise/doc | |/doc$ | /api/v1/version/doc | |/doc$ | /api/v1/creditrole/doc | ...Cheers, Ovid _______________________________________________ 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/