Skip to content
This repository
Browse code

Merge pull request #23 from TBAA/master

Constraints
  • Loading branch information...
commit e5816c71f172bb4d16b99dfe6229e8601023fb23 2 parents 9a96797 + 312bcfe
Fred Wu authored July 28, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  lib/api_taster/route.rb
1  lib/api_taster/route.rb
@@ -31,6 +31,7 @@ def normalise_routes!
31 31
         end
32 32
 
33 33
         route_set.routes.each do |route|
  34
+          next if route.app.is_a?(ActionDispatch::Routing::Mapper::Constraints)
34 35
           next if route.app.is_a?(Sprockets::Environment)
35 36
           next if route.app == ApiTaster::Engine
36 37
 

0 notes on commit e5816c7

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