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


_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to