Permalink
Browse files

more links and correct precedence

  • Loading branch information...
kraih committed Nov 13, 2013
1 parent 11b3693 commit 93254246c697ef0b4d6ee42cdc2b1358e5affde0
Showing with 9 additions and 6 deletions.
  1. +2 −0 Changes
  2. +1 −1 lib/Mojolicious.pm
  3. +1 −1 lib/Mojolicious/Controller.pm
  4. +5 −4 lib/Mojolicious/Plugin/TagHelpers.pm
View
@@ -1,4 +1,6 @@
+4.58 2013-11-13
+
4.57 2013-11-11
- Improved compatibility with IO::Socket::SSL 1.957.
- Fixed error event bug in Mojo::IOLoop::Delay.
View
@@ -43,7 +43,7 @@ has types => sub { Mojolicious::Types->new };
has validator => sub { Mojolicious::Validator->new };
our $CODENAME = 'Top Hat';
-our $VERSION = '4.57';
+our $VERSION = '4.58';
sub AUTOLOAD {
my $self = shift;
@@ -899,7 +899,7 @@ that all stash values with a C<mojo.*> prefix are reserved for internal use.
my $url = $c->url_for('http://mojolicio.us/perldoc');
my $url = $c->url_for('mailto:sri@example.com');
-Generate a portable L<Mojo::URL> object with base for a route, path or URL.
+Generate a portable L<Mojo::URL> object with base for a path, URL or route.
# "http://127.0.0.1:3000/perldoc" if application has been started with Morbo
$c->url_for('/perldoc')->to_abs;
@@ -372,8 +372,9 @@ Generate file input element.
%= submit_button
% end
-Generate portable form tag for route, path or URL. For routes that allow POST
-but not GET, a C<method> attribute will be automatically added.
+Generate portable form tag with L<Mojolicious::Controller/"url_for">. For
+routes that allow POST but not GET, a C<method> attribute will be
+automatically added.
<form action="/path/to/login">
<input name="first_name" />
@@ -474,8 +475,8 @@ Generate label.
<%= link_to 'http://mojolicio.us' => begin %>Mojolicious<% end %>
<%= link_to url_for->query(foo => 'bar')->to_abs => begin %>Retry<% end %>
-Generate portable link to route, path or URL, defaults to using the
-capitalized link target as content.
+Generate portable link with L<Mojolicious::Controller/"url_for">, defaults to
+using the capitalized link target as content.
<a href="/path/to/index">Home</a>
<a class="menu" href="/path/to/index.txt">Home</a>

0 comments on commit 9325424

Please sign in to comment.