[Catalyst-commits] r8149 - in Catalyst-Runtime:
5.70/branches/compres/lib 5.70/branches/context_go/lib
5.70/branches/proxystuff/lib 5.70/trunk/lib
5.80/branches/context_go/lib 5.80/branches/moose/lib 5.80/trunk/lib
dandv at dev.catalyst.perl.org
dandv at dev.catalyst.perl.org
Tue Jul 22 22:26:55 BST 2008
Author: dandv
Date: 2008-07-22 22:26:55 +0100 (Tue, 22 Jul 2008)
New Revision: 8149
Modified:
Catalyst-Runtime/5.70/branches/compres/lib/Catalyst.pm
Catalyst-Runtime/5.70/branches/context_go/lib/Catalyst.pm
Catalyst-Runtime/5.70/branches/proxystuff/lib/Catalyst.pm
Catalyst-Runtime/5.70/trunk/lib/Catalyst.pm
Catalyst-Runtime/5.80/branches/context_go/lib/Catalyst.pm
Catalyst-Runtime/5.80/branches/moose/lib/Catalyst.pm
Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm
Log:
Added warnign that path_to() should be called after MyApp->setup, which sets $c->config->{home}
Modified: Catalyst-Runtime/5.70/branches/compres/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.70/branches/compres/lib/Catalyst.pm 2008-07-22 14:55:09 UTC (rev 8148)
+++ Catalyst-Runtime/5.70/branches/compres/lib/Catalyst.pm 2008-07-22 21:26:55 UTC (rev 8149)
@@ -764,7 +764,8 @@
=head2 $c->path_to(@path)
Merges C<@path> with C<< $c->config->{home} >> and returns a
-L<Path::Class::Dir> object.
+L<Path::Class::Dir> object. Must be called after C<< MyApp->setup >>,
+which sets up C<< $c->config->{home} >>.
For example:
Modified: Catalyst-Runtime/5.70/branches/context_go/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.70/branches/context_go/lib/Catalyst.pm 2008-07-22 14:55:09 UTC (rev 8148)
+++ Catalyst-Runtime/5.70/branches/context_go/lib/Catalyst.pm 2008-07-22 21:26:55 UTC (rev 8149)
@@ -779,7 +779,8 @@
=head2 $c->path_to(@path)
Merges C<@path> with C<< $c->config->{home} >> and returns a
-L<Path::Class::Dir> object.
+L<Path::Class::Dir> object. Must be called after C<< MyApp->setup >>,
+which sets up C<< $c->config->{home} >>.
For example:
Modified: Catalyst-Runtime/5.70/branches/proxystuff/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.70/branches/proxystuff/lib/Catalyst.pm 2008-07-22 14:55:09 UTC (rev 8148)
+++ Catalyst-Runtime/5.70/branches/proxystuff/lib/Catalyst.pm 2008-07-22 21:26:55 UTC (rev 8149)
@@ -728,7 +728,8 @@
=head2 $c->path_to(@path)
Merges C<@path> with C<< $c->config->{home} >> and returns a
-L<Path::Class::Dir> object.
+L<Path::Class::Dir> object. Must be called after C<< MyApp->setup >>,
+which sets up C<< $c->config->{home} >>.
For example:
Modified: Catalyst-Runtime/5.70/trunk/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.70/trunk/lib/Catalyst.pm 2008-07-22 14:55:09 UTC (rev 8148)
+++ Catalyst-Runtime/5.70/trunk/lib/Catalyst.pm 2008-07-22 21:26:55 UTC (rev 8149)
@@ -788,7 +788,8 @@
=head2 $c->path_to(@path)
Merges C<@path> with C<< $c->config->{home} >> and returns a
-L<Path::Class::Dir> object.
+L<Path::Class::Dir> object. Must be called after C<< MyApp->setup >>,
+which sets up C<< $c->config->{home} >>.
For example:
Modified: Catalyst-Runtime/5.80/branches/context_go/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/context_go/lib/Catalyst.pm 2008-07-22 14:55:09 UTC (rev 8148)
+++ Catalyst-Runtime/5.80/branches/context_go/lib/Catalyst.pm 2008-07-22 21:26:55 UTC (rev 8149)
@@ -745,7 +745,8 @@
=head2 $c->path_to(@path)
Merges C<@path> with C<< $c->config->{home} >> and returns a
-L<Path::Class::Dir> object.
+L<Path::Class::Dir> object. Must be called after C<< MyApp->setup >>,
+which sets up C<< $c->config->{home} >>.
For example:
Modified: Catalyst-Runtime/5.80/branches/moose/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.80/branches/moose/lib/Catalyst.pm 2008-07-22 14:55:09 UTC (rev 8148)
+++ Catalyst-Runtime/5.80/branches/moose/lib/Catalyst.pm 2008-07-22 21:26:55 UTC (rev 8149)
@@ -753,7 +753,8 @@
=head2 $c->path_to(@path)
Merges C<@path> with C<< $c->config->{home} >> and returns a
-L<Path::Class::Dir> object.
+L<Path::Class::Dir> object. Must be called after C<< MyApp->setup >>,
+which sets up C<< $c->config->{home} >>.
For example:
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm 2008-07-22 14:55:09 UTC (rev 8148)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst.pm 2008-07-22 21:26:55 UTC (rev 8149)
@@ -753,7 +753,8 @@
=head2 $c->path_to(@path)
Merges C<@path> with C<< $c->config->{home} >> and returns a
-L<Path::Class::Dir> object.
+L<Path::Class::Dir> object. Must be called after C<< MyApp->setup >>,
+which sets up C<< $c->config->{home} >>.
For example:
More information about the Catalyst-commits
mailing list