Commits

tuck  committed 59d5465

custom_predicates is key-params of add_route method

  • Participants
  • Parent commits 0a7d0b2

Comments (0)

Files changed (1)

File akhet/static.py

     custom_predicates = list(custom_predicates)
     custom_predicates.insert(0, pred)
     config.add_route(name, pattern,
-                 custom_predicates=custom_predicates, **add_route_args)
+                     custom_predicates=custom_predicates,
+                     **add_route_args)
     config.add_view(view=view, route_name=name)
 
 #### Private stuff