Skip to content

Commit

Permalink
trivial fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Nov 13, 2013
1 parent 5628436 commit 51834a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/Ark/Context.pm
Expand Up @@ -4,6 +4,7 @@ use Mouse::Util::TypeConstraints;

use Scalar::Util ();
use Try::Tiny;
use URI::WithBase;

our $DETACH = 'ARK_DETACH';
our $DEFERRED = 'ARK_DEFERRED';
Expand Down Expand Up @@ -133,7 +134,7 @@ sub forward {
}
else {
my $last = $self->stack->[-1];

if ($last
and $last->{obj}->isa('Ark::Controller')
and my $action = $self->get_action($target, $last->{obj}->namespace)) {
Expand Down Expand Up @@ -189,7 +190,7 @@ sub dispatch_private_action {

my $action = ($self->router->get_actions($name, $self->req->action->namespace))[-1];
return 1 unless ($action and $action->attributes->{Private});

$action->dispatch($self);

!@{ $self->error };
Expand Down
1 change: 0 additions & 1 deletion lib/Ark/Request.pm
Expand Up @@ -3,7 +3,6 @@ use Mouse;

extends 'Plack::Request';

use URI::WithBase;
use Path::AttrRouter::Match;

has match => (
Expand Down

0 comments on commit 51834a7

Please sign in to comment.