Permalink
Browse files

Merge pull request #23 from TBAA/master

Constraints
  • Loading branch information...
2 parents 9a96797 + 312bcfe commit e5816c71f172bb4d16b99dfe6229e8601023fb23 @fredwu committed Jul 28, 2012
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

0 comments on commit e5816c7

Please sign in to comment.