/note/user, /note/club, /note/special => /note
This commit is contained in:
parent
f52a89637c
commit
d22350faf8
4 changed files with 14 additions and 17 deletions
|
|
@ -9,6 +9,6 @@ def register_activity_urls(router, path):
|
|||
"""
|
||||
Configure router for Activity REST API.
|
||||
"""
|
||||
router.register(path + r'activity', ActivityViewSet)
|
||||
router.register(path + r'type', ActivityTypeViewSet)
|
||||
router.register(path + r'guest', GuestViewSet)
|
||||
router.register(path + '/activity', ActivityViewSet)
|
||||
router.register(path + '/type', ActivityTypeViewSet)
|
||||
router.register(path + '/guest', GuestViewSet)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue