X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FController.pm;h=2e58312c903062b567ada8e402f94f2117f633ea;hp=64fa368f284253875724c3cf03118d5efb1a2eee;hb=ac5c933bdd463558e8d621507a53a7b247a9093e;hpb=0bc4c3ab80525051843dd85cb18f5d3762b0414c diff --git a/lib/Catalyst/Controller.pm b/lib/Catalyst/Controller.pm index 64fa368..2e58312 100644 --- a/lib/Catalyst/Controller.pm +++ b/lib/Catalyst/Controller.pm @@ -53,9 +53,9 @@ Catalyst::Controller - Catalyst Controller base class package MyApp::Controller::Search use base qw/Catalyst::Controller/; - sub foo : Local { + sub foo : Local { my ($self,$c,@args) = @_; - ... + ... } # Dispatches to /search/foo =head1 DESCRIPTION @@ -380,7 +380,7 @@ controller name. For instance controller 'MyApp::Controller::Foo::Bar' will be bound to 'foo/bar'. The default Root controller is an example of setting namespace to '' (the null string). -=head2 path +=head2 path Sets 'path_prefix', as described below.