Skip to content

Commit

Permalink
change url from hyphen to underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahsan Ulhaq committed Jan 2, 2016
1 parent bf73a48 commit 385707f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion credentials/apps/api/v1/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@


router = DefaultRouter() # pylint: disable=invalid-name
router.register(r'user-credentials', views.UserCredentialViewSet)
# URL can not have hyphen as it is not currently supported by slumber
# as mentioned https://github.com/samgiles/slumber/issues/44
router.register(r'user_credentials', views.UserCredentialViewSet)

urlpatterns = router.urls

0 comments on commit 385707f

Please sign in to comment.