[Catalyst] Rose+CRUD tutorial attempt giving syntax error

Peter Karman peter at peknet.com
Thu Jan 7 02:48:49 GMT 2010


Adam Mackler wrote on 1/6/10 12:32 PM:

> [warn] Calling $c->view() will return a random view unless you specify
> one of:
> [warn] * $c->config(default_view => "the name of the default view to
> use")
> [warn] * $c->stash->{current_view} # the name of the view to use for
> this request
> [warn] * $c->stash->{current_view_instance} # the instance of the view
> to use for this request

You need to set a 'default_view' value in your app config file. Assuming you 
have called your RDGC View file 'RDGC.pm' you should use the value 'RDGC'.

-- 
Peter Karman  .  http://peknet.com/  .  peter at peknet.com



More information about the Catalyst mailing list