Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Whoops I messed up the regex. I am still receiving a problem where it…

… is not picking up namespaced routes. Hopefully this new regex match allows it to pick up my API routes.
  • Loading branch information...
commit f052d7987607be9cfd28d9101b94209c49d0504c 1 parent 79cb2ba
@DanKnox authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/wadlgen/route_parser.rb
2  lib/wadlgen/route_parser.rb
@@ -26,7 +26,7 @@ def get_route_structure(base)
controller = defaults[:controller]
action = defaults[:action]
- next unless controller.match /\/api\//
+ next unless controller.match /api\//
next if action == 'edit'
resource = ress.get_resource(nil, route.path)
Please sign in to comment.
Something went wrong with that request. Please try again.