<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Couldn't you do this:</div><div><br></div><div>get '/' => sub { template 'index.html' };<br><br>Jonathan Otsuka</div><div><br>On Apr 27, 2013, at 6:56 PM, Mark Wood-Patrick <<a href="mailto:mwoodpatrick@nvidia.com">mwoodpatrick@nvidia.com</a>> wrote:<br><br></div><blockquote type="cite"><div>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<font face="Arial, sans-serif" size="2">
<div>Is there a way to be able to tell Dancer to load and index.html file automatically if it exists so be able to specify:</div>
<div> </div>
<div> <a href="http://l-sim-27-071:4080/todomvc/architecture-examples/yui"><font color="#0000FF"><u>http://l-sim-27-071:4080/todomvc/architecture-examples/yui</u></font></a></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div>rather than</div>
<div> </div>
<div> <a href="http://l-sim-27-071:4080/todomvc/architecture-examples/yui/index.html"><font color="#0000FF"><u>http://l-sim-27-071:4080/todomvc/architecture-examples/yui/index.html</u></font></a> </div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div style="padding-left: 18pt; text-indent: -18pt; ">Mark Wood-Patrick </div>
<div style="padding-left: 18pt; text-indent: -18pt; "><font face="Calibri, sans-serif" size="2"> </font></div>
</font>
<div>
<hr>
</div>
<div>This email message is for the sole use of the intended recipient(s) and may
contain confidential information. Any unauthorized review, use, disclosure
or distribution is prohibited. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies of the original
message. </div>
<div>
<hr>
</div>
<p></p>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>dancer-users mailing list</span><br><span><a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a></span><br><span><a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a></span><br></div></blockquote></body></html>