Fix route sequence for people autocomplete
This commit is contained in:
parent
d373eb9ac1
commit
e37e17adf0
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue