[Catalyst] Loading template according to request path
Matt Whipple
matt at mattwhipple.com
Tue Aug 11 19:09:44 GMT 2009
Is there a presently existing mechanism which flexibly allows for
template selection according to the request URI? For instance a request
to www.myapp.com/somepage would set something like stash(template =>
'somepage.tt') if the file exists and continue to be processed by the
appropriate or default action.
I wrote something which does this which I'm about to spend some time
cleaning up and optimizing but don't want to be reinventing any wheels
(especially likely smoother ones).
More information about the Catalyst
mailing list