[Catalyst] 404 Not Found
Adam Jacob
adam at stalecoffee.org
Wed Dec 20 18:33:57 GMT 2006
On Wed, Dec 20, 2006 at 08:05:36PM -0800, Octavian Rasnita wrote:
> package TranzactiiBursiere::Controller::Bunatati;
>
> use strict;
> use warnings;
> use base 'Catalyst::Controller';
>
> sub bunatati : General {
> my ( $self, $c ) = @_;
> $c->res->body("okokok");
> }
>
> 1;
Try:
sub buntati :Path :Args(0) { }
or
sub buntati :Index { }
Which does the same thing, basically.
See Catalyst::Manual::Into, specifically the "Actions" section, for tips
on what to use.
Also, when posting these kinds of problems to the list, it's generally
good to show us what the initial debug output is. Specifically, posting
the "Loaded ... actions" sections is quite useful.
Adam
More information about the Catalyst
mailing list