Skip to content

Commit

Permalink
another accepts example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 4, 2014
1 parent f9d2e61 commit d26c323
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Mojolicious/Plugin/DefaultHelpers.pm
Expand Up @@ -142,6 +142,9 @@ if no preference could be detected.
$self->render(data => '', status => 204)
unless my $format = $self->accepts('html', 'json');
# Detected representations to select from
my @formats = @{$self->accepts};
=head2 app
%= app->secrets->[0]
Expand Down

0 comments on commit d26c323

Please sign in to comment.