# called for / and only /, no other args
sub baz : Path { ... }
- sub baz : Index { ... }
# called for all actions, from the top-most controller inwards
sub auto : Private {
=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