a redirect is not a dispatcher by definition, so eliminate test

This commit is contained in:
Aaron Patterson 2014-05-26 13:24:03 -07:00
parent 605ab030a9
commit 8a826f5d63

@ -16,7 +16,7 @@ def rack_app
@rack_app ||= begin
endpoint = app.app
if app.redirect? || !app.dispatcher?
unless app.dispatcher?
endpoint
end
end