lib/slinky/server.rb in slinky-0.7.2 vs lib/slinky/server.rb in slinky-0.7.3
- old
+ new
@@ -35,9 +35,10 @@
Server.process_path(resp, path).send_response
end
def self.process_path resp, path, pushstate = false
file = manifest.find_by_path(path).first
+
if file.is_a? ManifestDir
file = manifest.find_by_path(path + "/index.html").first
path += "/index.html"
end