Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Constraints #23

Merged
merged 1 commit into from

2 participants

Dominik Masur Fred Wu
Dominik Masur

I got an error without ignoring them. Maybe you want this change in master.

Fred Wu fredwu merged commit e5816c7 into from
Fred Wu
Owner

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 25, 2012
  1. Dominik Masur

    Ignore Constraints

    dmasur authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/api_taster/route.rb
1  lib/api_taster/route.rb
View
@@ -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
Something went wrong with that request. Please try again.