a redirect is not a dispatcher by definition, so eliminate test
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user