MT#7119 fix broken soundfilerecordings collection

when auto returns false, the catalyst chaining is aborted
ipeshinskaya/InvoiceTemplate5
Gerhard Jungwirth 12 years ago
parent 83d37c5d23
commit c93c8eeb6d

@ -45,7 +45,7 @@ __PACKAGE__->config(
Does => [qw(ACL CheckTrailingSlash RequireSSL)],
Method => $_,
Path => __PACKAGE__->dispatch_path,
} } @{ __PACKAGE__->allowed_methods }
} } @{ __PACKAGE__->allowed_methods },
},
action_roles => [qw(HTTPMethods)],
);
@ -55,6 +55,7 @@ sub auto :Private {
$self->set_body($c);
#$self->log_request($c);
return 1;
}
sub OPTIONS :Allow {
@ -73,6 +74,7 @@ sub end : Private {
my ($self, $c) = @_;
$self->log_response($c);
return;
}
# vim: set tabstop=4 expandtab:

@ -38,7 +38,7 @@ __PACKAGE__->config(
Does => [qw(ACL CheckTrailingSlash RequireSSL)],
Method => $_,
Path => __PACKAGE__->dispatch_path,
} } @{ __PACKAGE__->allowed_methods }
} } @{ __PACKAGE__->allowed_methods },
},
action_roles => [qw(HTTPMethods)],
);
@ -48,6 +48,7 @@ sub auto :Private {
$self->set_body($c);
$self->log_request($c);
return 1;
}
sub OPTIONS :Allow {
@ -66,6 +67,7 @@ sub end : Private {
my ($self, $c) = @_;
$self->log_response($c);
return;
}
# vim: set tabstop=4 expandtab:

Loading…
Cancel
Save