Skip to content

Commit

Permalink
removed experimental status from respond_to method in Mojolicious::Co…
Browse files Browse the repository at this point in the history
…ntroller
  • Loading branch information
kraih committed Dec 30, 2011
1 parent 54e3a56 commit 9733a6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Changes
@@ -1,6 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.

2.42 2011-12-30 00:00:00
- Removed exprimental status from respond_to method in
Mojolicious::Controller.
- Improved RFC 6265 compliance of generated request headers.
- Improved documentation.
- Fixed bug that prevented sessions without expiration.
Expand Down
3 changes: 1 addition & 2 deletions lib/Mojolicious/Controller.pm
Expand Up @@ -910,8 +910,7 @@ L<Mojo::Message::Response> object.
Automatically select best possible representation for resource from C<Accept>
request header, C<format> stash value or C<format> GET/POST parameter,
defaults to rendering an empty C<204> response. Note that this method is
EXPERIMENTAL and might change without warning!
defaults to rendering an empty C<204> response.
$c->respond_to(
json => sub { $c->render_json({just => 'works'}) },
Expand Down

0 comments on commit 9733a6d

Please sign in to comment.