Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
perltidy
  • Loading branch information
ranguard committed Sep 9, 2016
1 parent d8a31be commit bad0540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/MetaCPAN/Web/Controller/Recent.pm
Expand Up @@ -18,9 +18,9 @@ sub index : Path : Args(0) {
my $latest = [ map { $_->{fields} } @{ $data->{hits}->{hits} } ];
single_valued_arrayref_to_scalar($latest);

$c->add_surrogate_key('RECENT','DIST_UPDATES');
$c->add_surrogate_key( 'RECENT', 'DIST_UPDATES' );
$c->browser_max_age('1m');
$c->cdn_max_age('1y'); # DIST_UPDATES will purge it
$c->cdn_max_age('1y'); # DIST_UPDATES will purge it

$c->stash(
{
Expand Down

0 comments on commit bad0540

Please sign in to comment.