[Catalyst] Static::Simple::Confusing

Matt S Trout dbix-class at trout.me.uk
Sun Jan 29 19:06:51 CET 2006


On Sun, Jan 29, 2006 at 06:52:35PM +0100, Wijnand Wiersma wrote:
> Christopher H. Laco wrote:
> >If anything, I think the static directory should be just that: 100% of
> >the things found in it should be served directly san processing.
> >  
> I agree.

This is why I liked the old Plugin::Static - I could just add something like

sub static :Local { shift; shift->serve_static; }

to my app class and stop thinking about it.

-- 
     Matt S Trout       Offering custom development, consultancy and support
  Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
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