Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ignore Constraints

  • Loading branch information...
commit 312bcfe6a5487d45c5fa6dd353b92f24912f8e7c 1 parent 9a96797
@dmasur dmasur authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/api_taster/route.rb
View
1  lib/api_taster/route.rb
@@ -31,6 +31,7 @@ def normalise_routes!
end
route_set.routes.each do |route|
+ next if route.app.is_a?(ActionDispatch::Routing::Mapper::Constraints)
next if route.app.is_a?(Sprockets::Environment)
next if route.app == ApiTaster::Engine
Please sign in to comment.
Something went wrong with that request. Please try again.