Skip to content

Commit

Permalink
small documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 15, 2012
1 parent dbb1c52 commit 1976933
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
10 changes: 6 additions & 4 deletions Changes
Expand Up @@ -4,6 +4,8 @@ This file documents the revision history for Perl extension Mojolicious.
- Improved router to allow disabled format detection to be inheritable by
nested routes.
- Improved error handling in Mojolicious::Plugin::JSONConfig.
- Improved match method in Mojolicious::Routes::Pattern to support format
detection.
- Improved router log messages.
- Improved all debug messages.
- Improved documentation.
Expand Down Expand Up @@ -45,12 +47,12 @@ This file documents the revision history for Perl extension Mojolicious.
2.75 2012-04-05
- Improved documentation.
- Improved tests.
- Fixed small bug in Mojo::Parameters->params.
- Fixed small bug in params method of Mojo::Parameters.

2.74 2012-04-04
- Improved documentation.
- Improved tests.
- Fixed multiple small bugs in Mojo::UserAgent::Transactor->form.
- Fixed multiple small bugs in form method of Mojo::UserAgent::Transactor.

2.73 2012-04-03
- Improved documentation.
Expand All @@ -66,7 +68,7 @@ This file documents the revision history for Perl extension Mojolicious.
- Improved version command to detect proxy servers automatically.
- Improved documentation.
- Improved tests.
- Fixed small argument bug in Mojo::Headers->to_hash.
- Fixed small argument bug in to_hash method of Mojo::Headers.

2.70 2012-03-30
- Improved speed of version command by switching to the MetaCPAN API.
Expand All @@ -76,7 +78,7 @@ This file documents the revision history for Perl extension Mojolicious.
- Fixed handler detection precedence bug in Mojolicious::Renderer.
- Fixed ability to disable inactivity timeout in Hypnotoad.
- Fixed ability to disable accepts limit in Hypnotoad.
- Fixed small bug in Mojo::Command->get_all_data.
- Fixed small bug in get_all_data method of Mojo::Command.
- Fixed small bug in inflate command. (memowe)

2.69 2012-03-26
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Routing.pod
Expand Up @@ -409,7 +409,7 @@ one, just make sure the more specific routes go first.
# /foo.html -> {controller => 'foo', action => 'hyper', format => 'html'}
$r->route('/foo')->to(controller => 'foo', action => 'hyper');

Restrictive placeholders can also be used for format detection.
Restrictive placeholders can also be used.

# /foo.rss -> {controller => 'foo', action => 'feed', format => 'rss'}
# /foo.xml -> {controller => 'foo', action => 'feed', format => 'xml'}
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojolicious/Lite.pm
Expand Up @@ -566,7 +566,7 @@ Formats can be automatically detected by looking at file extensions.
@@ detected.txt.ep
TXT was detected.
Restrictive placeholders can also be used for format detection.
Restrictive placeholders can also be used.
# /hello.json
# /hello.txt
Expand All @@ -582,7 +582,7 @@ Or you can just disable format detection.
# /hello
get '/hello' => [format => 0] => {text => 'No format detection.'};
# Disable format detection for the following routes and allow re-enabling
# Disable detection for the following routes and allow selective re-enabling
under [format => 0];
# /foo
Expand Down

0 comments on commit 1976933

Please sign in to comment.