From e37e17adf0cbce467f0ecc180ba69776c27b1c78 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 24 Mar 2017 17:29:34 -0500 Subject: [PATCH] Fix route sequence for people autocomplete --- tailbone/views/people.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tailbone/views/people.py b/tailbone/views/people.py index 2a7093ad..90c109c1 100644 --- a/tailbone/views/people.py +++ b/tailbone/views/people.py @@ -155,7 +155,6 @@ class PeopleEmployeesAutocomplete(PeopleAutocomplete): def includeme(config): - PeopleView.defaults(config) # autocomplete config.add_route('people.autocomplete', '/people/autocomplete') @@ -164,3 +163,5 @@ def includeme(config): config.add_route('people.autocomplete.employees', '/people/autocomplete/employees') config.add_view(PeopleEmployeesAutocomplete, route_name='people.autocomplete.employees', renderer='json', permission='people.list') + + PeopleView.defaults(config)