Skip to content

Commit

Permalink
no need to typecast
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 21, 2016
1 parent 11cc5ce commit 22bcc99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

7.08 2016-09-20
7.08 2016-09-21

7.07 2016-09-20
- Fixed bug in Mojo::UserAgent::Transactor where 303 redirects would not be
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Routes.pm
Expand Up @@ -138,7 +138,7 @@ sub _controller {

# Load and instantiate controller/application
my $new;
unless ($new = $self->_class($old, $field)) { return !!defined $new }
unless ($new = $self->_class($old, $field)) { return defined $new }

# Application
my $class = ref $new;
Expand Down

0 comments on commit 22bcc99

Please sign in to comment.