Skip to content

Commit

Permalink
refactor(global-notice): update url patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
injoonH committed Jan 5, 2024
1 parent e4ca55f commit 394dd4e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apps/global_notice/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
from .views import GlobalNoticeViewSet

router = DefaultRouter()
router.register(r"api/global_notices", GlobalNoticeViewSet, basename="global_notices")
router.register("", GlobalNoticeViewSet, basename="global_notices")

urlpatterns = router.urls

urlpatterns = [
path("api/global_notices/", include(router.urls)),
]

0 comments on commit 394dd4e

Please sign in to comment.