[Catalyst-commits] r9826 - in trunk/Catalyst-Plugin-DefaultEnd: .
lib/Catalyst/Plugin
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Fri Apr 24 16:55:58 GMT 2009
Author: t0m
Date: 2009-04-24 17:55:57 +0100 (Fri, 24 Apr 2009)
New Revision: 9826
Modified:
trunk/Catalyst-Plugin-DefaultEnd/Changes
trunk/Catalyst-Plugin-DefaultEnd/README
trunk/Catalyst-Plugin-DefaultEnd/lib/Catalyst/Plugin/DefaultEnd.pm
Log:
Deprecate.
Modified: trunk/Catalyst-Plugin-DefaultEnd/Changes
===================================================================
--- trunk/Catalyst-Plugin-DefaultEnd/Changes 2009-04-24 16:24:21 UTC (rev 9825)
+++ trunk/Catalyst-Plugin-DefaultEnd/Changes 2009-04-24 16:55:57 UTC (rev 9826)
@@ -1,5 +1,9 @@
Revision history for Perl extension Catalyst::Plugin::DefaultEnd
+0.07 24-04-2009 17:54:59
+ - Change to not use deprecated Catalyst::Base
+ - Mark this code as deprecated, as it has been for aaaages.
+
0.06 27-04-2006 11:45:00
- change to clustering () for performance.
- Add 401 to list of urls not to render template for.
Modified: trunk/Catalyst-Plugin-DefaultEnd/README
===================================================================
--- trunk/Catalyst-Plugin-DefaultEnd/README 2009-04-24 16:24:21 UTC (rev 9825)
+++ trunk/Catalyst-Plugin-DefaultEnd/README 2009-04-24 16:55:57 UTC (rev 9826)
@@ -1,9 +1,15 @@
NAME
- Catalyst::Plugin::DefaultEnd - Sensible default end action.
+ Catalyst::Plugin::DefaultEnd - DEPRECATED Sensible default end action.
SYNOPSIS
use Catalyst qw/-Debug DefaultEnd/;
+WARNING
+ This module is deprecated, and should not be used in new applications.
+
+ Please use Catalyst::Action::RenderView instead. It is preserved here
+ for backwards compatibility reasons.
+
DESCRIPTION
This action implements a sensible default end action, which will forward
to the first available view, unless status is set to 3xx, or there is a
Modified: trunk/Catalyst-Plugin-DefaultEnd/lib/Catalyst/Plugin/DefaultEnd.pm
===================================================================
--- trunk/Catalyst-Plugin-DefaultEnd/lib/Catalyst/Plugin/DefaultEnd.pm 2009-04-24 16:24:21 UTC (rev 9825)
+++ trunk/Catalyst-Plugin-DefaultEnd/lib/Catalyst/Plugin/DefaultEnd.pm 2009-04-24 16:55:57 UTC (rev 9826)
@@ -1,18 +1,25 @@
package Catalyst::Plugin::DefaultEnd;
-use base qw/Catalyst::Base/;
+use base qw/Catalyst::Controller/;
use strict;
-our $VERSION = '0.06';
+our $VERSION = '0.07';
=head1 NAME
-Catalyst::Plugin::DefaultEnd - Sensible default end action.
+Catalyst::Plugin::DefaultEnd - DEPRECATED Sensible default end action.
=head1 SYNOPSIS
use Catalyst qw/-Debug DefaultEnd/;
+=head1 WARNING
+
+This module is deprecated, and B<should not be used in new applications>.
+
+Please use L<Catalyst::Action::RenderView> instead. It is preserved here for
+backwards compatibility reasons.
+
=head1 DESCRIPTION
This action implements a sensible default end action, which will forward
More information about the Catalyst-commits
mailing list