Skip to content

Commit

Permalink
REST is best and nouns should be plural
Browse files Browse the repository at this point in the history
  • Loading branch information
joshSzep committed Jul 9, 2024
1 parent f69e866 commit 0af9768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion challenges/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
router = routers.DefaultRouter()
router.register(r"sentences", SentenceViewSet)
router.register(r"challenges", ChallengeViewSet)
router.register(r"challenge_result", ChallengeResultViewSet)
router.register(r"challenge_results", ChallengeResultViewSet)

urlpatterns = [
path("api/", include(router.urls)),
Expand Down

0 comments on commit 0af9768

Please sign in to comment.