Skip to content

Commit

Permalink
Merge pull request #23 from TBAA/master
Browse files Browse the repository at this point in the history
Constraints
  • Loading branch information
fredwu committed Jul 28, 2012
2 parents 9a96797 + 312bcfe commit e5816c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/api_taster/route.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e5816c7

Please sign in to comment.