[Catalyst-dev] bugfix: MyApp->model MyApp->view

Bogdan Lucaciu bogdan at wiz.ro
Mon Feb 26 02:54:25 GMT 2007


when calling MyApp->model , MyApp->config->{default_model} is ignored . 
same problem exists for MyApp->view.

the if (ref ) test was needed for the stashed options, but is obviously 
unnecessary for the config options which are class data.

patch attached

-- 
Bogdan Lucaciu
http://www.wiz.ro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.patch
Type: text/x-diff
Size: 1731 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20070226/567a1efe/fix.bin


More information about the Catalyst-dev mailing list