from django.urls import path
from . import views

urlpatterns = [
    path("rooms/", views.RoomListView.as_view(), name="room-list"),
    path("rooms/<slug:slug>/", views.RoomDetailView.as_view(), name="room-detail"),
    path("rooms/<slug:slug>/messages/", views.MessageHistoryView.as_view(), name="message-history"),
    path("messages/<int:message_id>/report/", views.ReportMessageView.as_view(), name="report-message"),
]