From: Brian Cassidy Date: Thu, 17 Jul 2008 00:37:48 +0000 (+0000) Subject: doc typo fix (rafl) X-Git-Tag: 5.7099_04~46 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=15f1c98d0d0887ed21889f4f392afc6e536b19d5 doc typo fix (rafl) --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 9603539..c20ceca 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -525,7 +525,7 @@ Gets a L instance by name. Any extra arguments are directly passed to ACCEPT_CONTEXT. If the name is omitted, it will look for - - a model object in $c->stash{current_model_instance}, then + - a model object in $c->stash->{current_model_instance}, then - a model name in $c->stash->{current_model}, then - a config setting 'default_model', or - check if there is only one model, and return it if that's the case. @@ -578,7 +578,7 @@ Gets a L instance by name. Any extra arguments are directly passed to ACCEPT_CONTEXT. If the name is omitted, it will look for - - a view object in $c->stash{current_view_instance}, then + - a view object in $c->stash->{current_view_instance}, then - a view name in $c->stash->{current_view}, then - a config setting 'default_view', or - check if there is only one view, and return it if that's the case.