Fix invalid cast.
@@ -208,7 +208,7 @@ class Router(object):
except KeyError:
path_vars = match
- path_vars = list(path_vars)
+ path_vars = dict(path_vars)
path = path_vars.pop('_api_path')
method = path_vars.pop('_api_method')
