Skip to content

Commit

Permalink
fixed to_dir example
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 12, 2013
1 parent 9239fbb commit 4304c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojo/Path.pm
Expand Up @@ -249,8 +249,8 @@ Turn path into an absolute string.
Clone path and remove everything after the right-most slash.
# "/foo/bar/"
Mojo::Path->new('/foo/bar/index.html');
# "/i/%E2%99%A5/"
Mojo::Path->new('i/%E2%99%A5/mojolicious')->to_dir->to_abs_string;
=head2 to_route
Expand Down

0 comments on commit 4304c8c

Please sign in to comment.