Merge branch 'feature/tune-comment-method' into 'develop'

fix route

See merge request gm/gm-backend!245
This commit is contained in:
Anton Gorbunov 2020-01-28 13:57:07 +00:00
commit a0aad97a4d

View File

@ -7,7 +7,7 @@ app_name = 'comment'
urlpatterns = [
path('', views.CommentLstView.as_view(), name='comment-list-create'),
path('<int:id>/', views.CommentRUDView.as_view(), name='comment-crud'),
path('<str:type>/', views.CommentLstView.as_view(), name='comment-list-by-type-create'),
path('<str:type>/<int:object>', views.CommentLstView.as_view(), name='comment-list-by-type-object-create'),
path('<int:id>/', views.CommentRUDView.as_view(), name='comment-crud'),
]