# File lib/js_routes.rb, line 196 def build_route_if_match(route, parent_route=nil) if any_match?(route, parent_route, @configuration[:exclude]) || !any_match?(route, parent_route, @configuration[:include]) nil else build_js(route, parent_route) end end