Include cascade header in metal template

This commit is contained in:
Joshua Peek
2010-01-22 08:31:41 -06:00
parent 658f9e7e44
commit 284fd2568d

View File

@@ -6,7 +6,7 @@ class <%= class_name %>
if env["PATH_INFO"] =~ /^\/<%= file_name %>/
[200, {"Content-Type" => "text/html"}, ["Hello, World!"]]
else
[404, {"Content-Type" => "text/html"}, ["Not Found"]]
[404, {"Content-Type" => "text/html", "X-Cascade" => "pass"}, ["Not Found"]]
end
end
end