Skip to content

Commit

Permalink
mention how to change MIME type mappings in content negotiation recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 1, 2013
1 parent 9d2ef39 commit c13c7d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -316,7 +316,8 @@ L<Mojolicious::Controller/"render">.

The best possible representation will be automatically selected from the
C<Accept> request header, C<format> stash value or C<format> GET/POST
parameter.
parameter. To change MIME type mappings for the C<Accept> request header you
can use L<Mojolicious/"types">.

$self->respond_to(
json => {json => {hello => 'world'}},
Expand Down

0 comments on commit c13c7d6

Please sign in to comment.