Skip to content

Commit

Permalink
config/urls: remove QuestionRouter and VoteViewSet after refactor in A4
Browse files Browse the repository at this point in the history
  • Loading branch information
rine authored and philli-m committed Sep 5, 2022
1 parent bccce9e commit c3567c5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions meinberlin/config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
from adhocracy4.comments_async.api import CommentViewSet
from adhocracy4.follows.api import FollowViewSet
from adhocracy4.polls.api import PollViewSet
from adhocracy4.polls.api import VoteViewSet
from adhocracy4.polls.routers import QuestionDefaultRouter
from adhocracy4.ratings.api import RatingViewSet
from adhocracy4.reports.api import ReportViewSet
from meinberlin.apps.bplan.api import BplanViewSet
Expand Down Expand Up @@ -77,9 +75,6 @@
ct_router.register(r'moderatorremarks', ModeratorRemarkViewSet,
basename='moderatorremarks')

question_router = QuestionDefaultRouter()
question_router.register(r'vote', VoteViewSet, basename='vote')

tokenvote_router = TokenVoteDefaultRouter()
tokenvote_router.register(r'tokenvotes', TokenVoteViewSet,
basename='tokenvotes')
Expand Down Expand Up @@ -145,7 +140,6 @@
path('api/', include(likes_router.urls)),
path('api/', include(module_router.urls)),
path('api/', include(orga_router.urls)),
path('api/', include(question_router.urls)),
path('api/', include(tokenvote_router.urls)),
path('api/', include(router.urls)),

Expand Down

0 comments on commit c3567c5

Please sign in to comment.