> On Sat, 12 May 2007, Matt S Trout wrote:
> [...]
>>> call for the view. The default for this in the Mason view seems to be
>>> the
>>> same as that in the TT2 view, which is to use $c->req->match. That
>>> seems
>>> reasonable to me.
>>
>> That's one of the things that needs to change, the standard for views is
>> now $c->action.
>
> Easy enough to fix.
>
>
> -dave

fwiw, this is what i use as my default:

  $c->stash->{template} = $c->action->namespace . '/'
      . $c->action->name . '.html';

but i don't know how well that plays with chained actions.


_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to