Perl version
old freebsd perl 5.16.2
new debian v5.14.2

суббота, 8 февраля 2014 г., 18:42:52 UTC+4 пользователь Денис Ильиных 
написал:
>
> error on not ?
>
> url: /user/loginform/
>
> in 4.41 this code works
>
> my $r = $self->routes;
>
> $r->route('/user/:action/', action => 
> qr/register|doreg|openid|reminder|callback/)->to( controller => 'user' , 
> action => "loginform" ); #catch 1
> $r->route('/user/:action/:code/', action => qr/login/)->to( controller => 
> 'user' , action => "loginform" ); #catch 2
>
> my $user = $r->bridge('/user')->to( namespace => "Shop::User", cb => sub {
>         my $self = shift;
>         die 1;
> });
>
> and i see die 1;
>
> on new server with mojo 4.77
> "catch 2" catch request 
>
> -- 
> С уважением.
> Ильиных Денис
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to