Skip to content

Commit

Permalink
fix encode_json => encode
Browse files Browse the repository at this point in the history
  • Loading branch information
kazeburo committed May 28, 2014
1 parent 0ec4d82 commit 33b14d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GrowthForecast/Web.pm
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ get '/edit_complex/:complex_id' => [qw/get_complex/] => sub {
$c->stash->{complex}->{'path-1-service'} = $path1->{service_name};
$c->stash->{complex}->{'path-1-section'} = $path1->{section_name};

$c->render('edit_complex.tx',{services_json => $_JSON->encode_json(\@services), service_tree => \@services,
$c->render('edit_complex.tx',{services_json => $_JSON->encode(\@services), service_tree => \@services,
graphs => $graphs, disable_subtract => $self->disable_subtract });
};

Expand Down

0 comments on commit 33b14d8

Please sign in to comment.