aboutsummaryrefslogtreecommitdiffstats
path: root/api/urls.py
diff options
context:
space:
mode:
authorGravatar Hasan-Ahmad <[email protected]>2018-10-13 15:33:15 +0100
committerGravatar Hasan-Ahmad <[email protected]>2018-10-13 15:33:15 +0100
commit833cc690736fc301303299b41e9e874b8e430983 (patch)
tree86d17120a1ccd689d7024333728540150fd89552 /api/urls.py
parentAdded snake facts api (diff)
fixed ordering
Diffstat (limited to 'api/urls.py')
-rw-r--r--api/urls.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/api/urls.py b/api/urls.py
index 38508d38..5cc1b346 100644
--- a/api/urls.py
+++ b/api/urls.py
@@ -25,6 +25,10 @@ bot_router.register(
MemberViewSet
)
bot_router.register(
+ 'snake-facts',
+ SnakeFactViewSet,
+)
+bot_router.register(
'snake-names',
SnakeNameViewSet,
base_name='snakename'
@@ -33,10 +37,6 @@ bot_router.register(
'tags',
TagViewSet,
)
-bot_router.register(
- 'snake-fact',
- SnakeFactViewSet,
-)
app_name = 'api'
urlpatterns = (