diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-22 08:31:41 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-22 08:31:41 -0600 |
commit | 284fd2568de44ba913ff3accc439c5e6e22ca076 (patch) | |
tree | 9a78e3a526a8d3939f2fd2a61cb1b6036a224980 | |
parent | 658f9e7e4472edf07e59c9a40a0cf49a0790a3fc (diff) | |
download | rails-284fd2568de44ba913ff3accc439c5e6e22ca076.tar.gz rails-284fd2568de44ba913ff3accc439c5e6e22ca076.tar.bz2 rails-284fd2568de44ba913ff3accc439c5e6e22ca076.zip |
Include cascade header in metal template
-rw-r--r-- | railties/lib/generators/rails/metal/templates/metal.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generators/rails/metal/templates/metal.rb b/railties/lib/generators/rails/metal/templates/metal.rb index e94982b69a..fad98f4d1d 100644 --- a/railties/lib/generators/rails/metal/templates/metal.rb +++ b/railties/lib/generators/rails/metal/templates/metal.rb @@ -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 |