MT#13919 Bootstrap uses the same config template, configure TT plugin base.

Change-Id: I686c108488c4d76922f372522c1dbfdac3227b6c
changes/85/2585/4
Irina Peshinskaya 10 years ago
parent 372dfa616d
commit f458443eda

@ -1507,7 +1507,9 @@ sub dev_field_bootstrap :Chained('/') :PathPart('device/autoprov/bootstrap') :Ar
my $data = $dev->profile->config->data;
my $processed_data = "";
my $t = Template->new;
my $t = Template->new({
PLUGIN_BASE => 'NGCP::Panel::Template::Plugin',
});
$t->process(\$data, $vars, \$processed_data) || do {
my $error = $t->error();
my $msg = "error processing template, type=".$error->type.", info='".$error->info."'";

Loading…
Cancel
Save