<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 1 Dec 2010, at 00:39, Bill Moseley wrote:</div><blockquote type="cite"><div class="gmail_quote"><div><div><font class="Apple-style-span" color="#000000"><br></font></div><div>Yes, but I also allow templates to specify their layout. &nbsp;So for an action /foo/bar &nbsp;I might have /foo/<a href="http://bar.tt/">bar.tt</a> and in <a href="http://bar.tt/">bar.tt</a>:</div>

</div><div><br></div><div>[% &nbsp; page.layout = 'cms'; # override default layout %]</div></div></blockquote><br></div><div>Yes, that's what I do. The template is deciding the view. IMO that's the right place for it.</div><div><br></div><div>It's like setting page titles, which (I assume) most people do the same way.</div><div><br></div></body></html>