[Catalyst] Context sensitive template locations

Matt S Trout dbix-class at trout.me.uk
Mon Nov 21 19:43:06 CET 2005


On Mon, Nov 21, 2005 at 07:20:23PM +0100, Johan Lindstr�m wrote:
> At 01:46 2005-11-21, phaylon wrote:
> >will be called on /foobar/test, which creates a $c->req->match of
> >"foobar/test".
> 
> Not quite what I was looking for, but in the general direction.
> 
> This is what I ended up with. I subclassed my TT view and overloaded:

Yuck. Just pass an arrayref as the INCLUDE_PATH to the TT view config and
then have requests set that ...

-- 
     Matt S Trout       Specialists in Perl consulting, web development, and
  Technical Director    UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list