lib/rapid_runty/router/routes.rb in rapid_runty-0.1.3 vs lib/rapid_runty/router/routes.rb in rapid_runty-0.1.4
- old
+ new
@@ -30,10 +30,10 @@
urls = select_routes_by_verb(verb, routes)
find_matching_route(path, urls, routes)
end
- def select_routes_by_verb(_verb, routes)
+ def select_routes_by_verb(verb, routes)
urls = routes.map { |route| { url: route.path }.merge route.options }
urls
end
def find_matching_route(path, urls, routes)