[Catalyst-commits] r13572 - in Catalyst-Runtime/5.80/trunk: .
t/lib/ChainedActionsApp/Controller
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Wed Sep 1 21:14:12 GMT 2010
Author: t0m
Date: 2010-09-01 22:14:12 +0100 (Wed, 01 Sep 2010)
New Revision: 13572
Modified:
Catalyst-Runtime/5.80/trunk/Changes
Catalyst-Runtime/5.80/trunk/t/lib/ChainedActionsApp/Controller/Root.pm
Log:
Fix bug in the tests
Modified: Catalyst-Runtime/5.80/trunk/Changes
===================================================================
--- Catalyst-Runtime/5.80/trunk/Changes 2010-09-01 21:03:36 UTC (rev 13571)
+++ Catalyst-Runtime/5.80/trunk/Changes 2010-09-01 21:14:12 UTC (rev 13572)
@@ -1,5 +1,10 @@
# This file documents the revision history for Perl extension Catalyst.
+5.80027 2010-09-01
+
+ Bug fixes:
+ - Fix an issue with newly added test cases which depended on Catalyst::Action::RenderView
+
5.80026 2010-09-01 15:14:00
Bug fixes:
Modified: Catalyst-Runtime/5.80/trunk/t/lib/ChainedActionsApp/Controller/Root.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/lib/ChainedActionsApp/Controller/Root.pm 2010-09-01 21:03:36 UTC (rev 13571)
+++ Catalyst-Runtime/5.80/trunk/t/lib/ChainedActionsApp/Controller/Root.pm 2010-09-01 21:14:12 UTC (rev 13572)
@@ -10,24 +10,6 @@
#
__PACKAGE__->config(namespace => '');
-=head1 NAME
-
-test_chained::Controller::Root - Root Controller for test_chained
-
-=head1 DESCRIPTION
-
-[enter your description here]
-
-=head1 METHODS
-
-=head2 setup
-
-This is the C<setup> method that initializes the request. Any matching action
-will go through this, so it is an application-wide automatically executed
-action. For more information, see L<Catalyst::DispatchType::Chained>
-
-=cut
-
sub setup : Chained('/') PathPart('') CaptureArgs(0) {
my ( $self, $c ) = @_;
# Common things here are to check for ACL and setup global contexts
@@ -38,14 +20,6 @@
$c->response->body( "Application Home Page" );
}
-=head2 home_base
-
- Args:
- project_id
- project_title
-
-=cut
-
sub home_base : Chained('setup') PathPart('') CaptureArgs(2) {
my($self,$c,$proj_id,$title) = @_;
$c->stash({project_id=>$proj_id, project_title=>$title});
@@ -76,37 +50,14 @@
$c->response->body( "This is account " . $c->stash->{account_id} );
}
-=head2 default
-
-Standard 404 error page
-
-=cut
-
sub default : Chained('setup') PathPart('') Args() {
my ( $self, $c ) = @_;
$c->response->body( 'Page not found' );
$c->response->status(404);
}
-=head2 end
+sub end : Action {}
-Attempt to render a view, if needed.
-
-=cut
-
-sub end : ActionClass('RenderView') {}
-
-=head1 AUTHOR
-
-Ferruccio Zamuner
-
-=head1 LICENSE
-
-This library is free software. You can redistribute it and/or modify
-it under the same terms as Perl itself.
-
-=cut
-
__PACKAGE__->meta->make_immutable;
1;
More information about the Catalyst-commits
mailing list