aboutsummaryrefslogtreecommitdiffstats
path: root/api/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/urls.py')
-rw-r--r--api/urls.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/api/urls.py b/api/urls.py
index 1648471c..38508d38 100644
--- a/api/urls.py
+++ b/api/urls.py
@@ -5,7 +5,7 @@ from .views import HealthcheckView
from .viewsets import (
DocumentationLinkViewSet, MemberViewSet,
OffTopicChannelNameViewSet, SnakeNameViewSet,
- TagViewSet
+ TagViewSet, SnakeFactViewSet
)
@@ -33,6 +33,10 @@ bot_router.register(
'tags',
TagViewSet,
)
+bot_router.register(
+ 'snake-fact',
+ SnakeFactViewSet,
+)
app_name = 'api'
urlpatterns = (