Skip to content

Commit

Permalink
add missing abstracts in Release page
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed Jul 8, 2016
1 parent 0867e9c commit 1394948
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/MetaCPAN/Web/Controller/Release.pm
Expand Up @@ -124,6 +124,9 @@ sub view : Private {
my @view_files = map { single_valued_arrayref_to_scalar($_) }
map +{
%{ $_->{fields} },
abstract => ( exists $_->{_source} and $_->{_source}{abstract} )
? $_->{_source}{abstract}
: (),
module => [
( exists $_->{_source} and $_->{_source}{module} )
? $_->{_source}{module}
Expand Down

0 comments on commit 1394948

Please sign in to comment.