standardize variable names

This commit is contained in:
Eric A. Miller
2014-05-28 23:52:08 -04:00
parent cff24e4834
commit 2111a4079b
15 changed files with 32 additions and 31 deletions

View File

@@ -23,8 +23,8 @@ get '/ajax/content/report/devicebylocation' => require_login sub {
return unless scalar @results;
if ( request->is_ajax ) {
my $results = to_json( \@results );
template 'ajax/report/devicebylocation.tt', { results => $results },
my $json = to_json( \@results );
template 'ajax/report/devicebylocation.tt', { results => $json },
{ layout => undef };
}
else {