aboutsummaryrefslogtreecommitdiffstats
path: root/api/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/urls.py')
-rw-r--r--api/urls.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/api/urls.py b/api/urls.py
index 8229b08c..7d90e8be 100644
--- a/api/urls.py
+++ b/api/urls.py
@@ -3,8 +3,8 @@ from rest_framework.routers import DefaultRouter
from .views import HealthcheckView
from .viewsets import (
- DocumentationLinkViewSet, MemberViewSet,
- OffTopicChannelNameViewSet,
+ DeletedMessageViewSet, DocumentationLinkViewSet,
+ MemberViewSet, OffTopicChannelNameViewSet,
SnakeFactViewSet, SnakeIdiomViewSet,
SnakeNameViewSet, SpecialSnakeViewSet,
TagViewSet
@@ -14,6 +14,10 @@ from .viewsets import (
# http://www.django-rest-framework.org/api-guide/routers/#defaultrouter
bot_router = DefaultRouter(trailing_slash=False)
bot_router.register(
+ 'deleted-messages',
+ DeletedMessageViewSet
+)
+bot_router.register(
'documentation-links',
DocumentationLinkViewSet
)