Skip to content

Commit

Permalink
Merge pull request #1744 from metacpan/mickey/GH1743
Browse files Browse the repository at this point in the history
add missing abstracts in Release page
  • Loading branch information
oalders committed Jul 9, 2016
2 parents 0867e9c + d000c7a commit 7e8e6bb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions lib/MetaCPAN/Web/Controller/Release.pm
Expand Up @@ -122,14 +122,7 @@ sub view : Private {

# Simplify the file data we pass to the template.
my @view_files = map { single_valued_arrayref_to_scalar($_) }
map +{
%{ $_->{fields} },
module => [
( exists $_->{_source} and $_->{_source}{module} )
? $_->{_source}{module}
: ()
],
},
map +{ %{ $_->{fields} }, %{ $_->{_source} }, },
@{ $modules->{hits}->{hits} };

my $changes
Expand Down

0 comments on commit 7e8e6bb

Please sign in to comment.