Skip to content

Commit

Permalink
mention that all placeholders can be surrounded by parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 9, 2013
1 parent 842d9ee commit a80f2a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@

3.95 2013-04-09
- Improved documentation.

3.94 2013-04-08
- Added is_hidden method to Mojolicious::Routes.
- Removed deprecated start method from Mojolicious::Commands.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -40,7 +40,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Rainbow';
our $VERSION = '3.94';
our $VERSION = '3.95';

sub AUTOLOAD {
my $self = shift;
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Routing.pod
Expand Up @@ -99,7 +99,7 @@ characters except C</> and C<.>.
/sebastian23/hello -> /:name/hello -> {name => 'sebastian23'}
/sebastian 23/hello -> /:name/hello -> {name => 'sebastian 23'}

A generic placeholder can be surrounded by parentheses to separate it from the
All placeholders can be surrounded by parentheses to separate them from the
surrounding text.

/hello -> /(:name)hello -> undef
Expand Down

0 comments on commit a80f2a0

Please sign in to comment.