Subject: | Bug with configuration. |
Date: | Wed, 9 Jul 2008 15:53:45 +0500 |
To: | bug-Catalyst-Controller-FormBuilder [...] rt.cpan.org |
From: | "Одинцов Павел" <pavel.odintsov [...] googlemail.com> |
Hello!
I have problems with configuration, form_path => [ '/my/path' ] do not work
:(
In file FormBuilder/Action.pm, _form_path sub:
my $config = $c->config->{'Controller::FormBuilder'} || {};
prefer:
my $config = $controller->config->{'Controller::FormBuilder'} || {};
fix my problems ;)
My system:
perl -v | head -n2
This is perl, v5.8.8 built for i486-linux-gnu-thread-multi
uname -a
Linux dell 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686
GNU/Linux
perl -MCatalyst::Controller::FormBuilder -e 'print
$Catalyst::Controller::FormBuilder::VERSION'
0.04
--
WBR, Pavel Odintsov