[Catalyst] Subclassing using Catalyst::Controller::REST
Tomas Doran
bobtfish at bobtfish.net
Mon Jun 7 13:17:02 GMT 2010
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
More information about the Catalyst
mailing list