diff options
Diffstat (limited to 'railties/test/fixtures/metal/pluralmetal/app/metal/legacy_routes.rb')
-rw-r--r-- | railties/test/fixtures/metal/pluralmetal/app/metal/legacy_routes.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/railties/test/fixtures/metal/pluralmetal/app/metal/legacy_routes.rb b/railties/test/fixtures/metal/pluralmetal/app/metal/legacy_routes.rb new file mode 100644 index 0000000000..0cd3737c32 --- /dev/null +++ b/railties/test/fixtures/metal/pluralmetal/app/metal/legacy_routes.rb @@ -0,0 +1,5 @@ +class LegacyRoutes < Rails::Rack::Metal + def self.call(env) + [301, { "Location" => "http://example.com"}, []] + end +end |