Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 8a826f5d6391926d7cdc267cc0069a399b7324d8 1 parent 605ab03
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/routing/inspector.rb
View
2  actionpack/lib/action_dispatch/routing/inspector.rb
@@ -16,7 +16,7 @@ def rack_app
@rack_app ||= begin
endpoint = app.app
- if app.redirect? || !app.dispatcher?
+ unless app.dispatcher?
endpoint
end
end

0 comments on commit 8a826f5

Please sign in to comment.
Something went wrong with that request. Please try again.