Fixed docs for comp()
[catagits/Catalyst-Runtime.git] / lib / Catalyst.pm
index 77aa8e9..0e28659 100644 (file)
@@ -342,9 +342,8 @@ Contains the return value of the last executed action.
 
 =item $c->component($name)
 
-Gets a component object by name.
-
-    $c->comp('MyApp::Model::MyModel')->do_stuff;
+Gets a component object by name.  This method is no longer recommended.
+$c->controller, $c->model, and $c->view should be used instead.
 
 =cut