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)