Skip to content

Commit

Permalink
Merge pull request #35 from felipeelias/fix-routes-with-constraints
Browse files Browse the repository at this point in the history
Do not ignore if route is a constraint
  • Loading branch information
fredwu committed Mar 20, 2013
2 parents 1aced6a + 087f9d9 commit 62b5e1c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/api_taster/route.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ 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 62b5e1c

Please sign in to comment.