* master:
Changelog
tests don't pass with CATALYST_DEBUG set to 1
Changelogging
add tests for status
add status for no content and gone
Update date in Changes
Fix failing test. Normalize method names
Doh, I meant that - works better
Bump versions, use eval trick with version numbers to support dev releases etc
Add new serializer for JSON::XS
Changelog
Made test independent of YAML::Syck bugs
Merge cherry pick of whitespace cleanups
BEGIN { require 5.008001; }
- our $VERSION = '0.74';
+ our $VERSION = '0.76';
+ $VERSION = eval $VERSION;
sub new {
my $class = shift;
my ($code, $name);
# Common case, for foo_GET etc
- if ($code = $controller->can($rest_method)) {
+ if ( $code = $controller->action_for($rest_method) ) {
+ $c->execute( $self->class, $self, @{ $c->req->args } );
+ return $c->forward( $code, $c->req->args );
+ } elsif ($code = $controller->can($rest_method)) {
# Exceute normal action
$c->execute( $self->class, $self, @{ $c->req->args } );
$name = $rest_method;