[Catalyst-commits] r6431 -
trunk/Catalyst-Action-REST/lib/Catalyst/Action
adam at dev.catalyst.perl.org
adam at dev.catalyst.perl.org
Thu May 24 22:44:24 GMT 2007
Author: adam
Date: 2007-05-24 22:44:17 +0100 (Thu, 24 May 2007)
New Revision: 6431
Modified:
trunk/Catalyst-Action-REST/lib/Catalyst/Action/REST.pm
Log:
perltidy
Modified: trunk/Catalyst-Action-REST/lib/Catalyst/Action/REST.pm
===================================================================
--- trunk/Catalyst-Action-REST/lib/Catalyst/Action/REST.pm 2007-05-24 21:43:07 UTC (rev 6430)
+++ trunk/Catalyst-Action-REST/lib/Catalyst/Action/REST.pm 2007-05-24 21:44:17 UTC (rev 6431)
@@ -16,13 +16,13 @@
use 5.8.1;
our
- $VERSION = '0.41';
+ $VERSION = '0.41';
# This is wrong in several ways. First, there's no guarantee that
# Catalyst.pm has not been subclassed. Two, there's no guarantee that
# the user isn't already using their request subclass.
Catalyst->request_class('Catalyst::Request::REST')
- unless Catalyst->request_class->isa('Catalyst::Request::REST');
+ unless Catalyst->request_class->isa('Catalyst::Request::REST');
=head1 NAME
@@ -86,7 +86,7 @@
my $self = shift;
my $c = shift;
- my $controller = $c->component($self->class);
+ my $controller = $c->component( $self->class );
my $method = $self->name . "_" . uc( $c->request->method );
if ( $controller->can($method) ) {
$c->execute( $self->class, $self, @{ $c->req->args } );
More information about the Catalyst-commits
mailing list