diff options
author | 2018-10-11 16:14:34 +0100 | |
---|---|---|
committer | 2018-10-11 16:14:34 +0100 | |
commit | 2ae5f5205ec19dbc1574b6136da9479e080c6ba2 (patch) | |
tree | 9059566c30cc1e4f1496d2b750eb6cc8f0795013 /api/urls.py | |
parent | Use proper keyword argument. (diff) |
Added snake facts api
Diffstat (limited to 'api/urls.py')
-rw-r--r-- | api/urls.py | 6 |
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 = ( |