<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>static_if_present.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -3,5 +3,10 @@ require 'rubygems'
 require 'rack'
 require 'matryoshka'
 
+# You can comment these two lines out if you are using passenger or some other 
+# server that will automatically serve static files from public/
+require 'static_if_present'
+use Rack::StaticIfPresent, :urls =&gt; [&quot;/&quot;], :root =&gt; &quot;public&quot;
+
 use Rack::ShowExceptions
 run Matryoshka.new</diff>
      <filename>config.ru</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>93b5600686c8a5d12bfc0183d63114cd57b4bfea</id>
    </parent>
  </parents>
  <author>
    <name>Sam Schenkman-Moore</name>
    <email>samsm@samsm.com</email>
  </author>
  <url>http://github.com/samsm/sample_matryoshka_site/commit/05182e3c60949d44717338a7a0f9bc363e3c355a</url>
  <id>05182e3c60949d44717338a7a0f9bc363e3c355a</id>
  <committed-date>2009-11-04T13:25:20-08:00</committed-date>
  <authored-date>2009-11-04T13:25:20-08:00</authored-date>
  <message>Hack to serve static files from public/ without server support.</message>
  <tree>2d4ab9505d2f54ef58af7e84d55b62fc57a2c068</tree>
  <committer>
    <name>Sam Schenkman-Moore</name>
    <email>samsm@samsm.com</email>
  </committer>
</commit>
