[Catalyst] Subclassing using Catalyst::Controller::REST

prasad guna mopiw171 at gmail.com
Mon Jun 7 14:58:12 GMT 2010


Thanks Tom,

Its great and quick response and it Works now.

PG.

On Mon, Jun 7, 2010 at 2:17 PM, Tomas Doran <bobtfish at bobtfish.net> wrote:

>
> On 7 Jun 2010, at 10:15, prasad guna wrote:
>
>> lasses are using the default config and renders the output using
>> YAML::HTML,
>>
>> so ideally what i need is, when a request is made the subclass should use
>> the config from the parent class and forward to View::TT,
>>
>> Please let me know, how to do this.
>>
>
> Put the config you want shared into __PACKAGE__->config inside the parent
> class rather than the config file.
>
> Other than that, this will work exactly like you expect it to.
>
> Cheers
> t0m
>
>
>
> _______________________________________________
> List: Catalyst at 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100607/e8579=
cf8/attachment.htm


More information about the Catalyst mailing list