Added warnign that path_to() should be called after MyApp->setup, which sets $c-...
Dan Dascalescu [Tue, 22 Jul 2008 21:26:55 +0000 (21:26 +0000)]
lib/Catalyst.pm

index 02f1216..4bd707f 100644 (file)
@@ -788,7 +788,8 @@ L<Catalyst::Engine>.
 =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: