feat(chat): add room index page
This commit is contained in:
@@ -61,6 +61,7 @@ defmodule SlaxWeb.Router do
|
||||
live_session :require_authenticated_user,
|
||||
on_mount: [{SlaxWeb.UserAuth, :ensure_authenticated}] do
|
||||
live "/", ChatRoomLive
|
||||
live "/rooms", ChatRoomLive.Index
|
||||
live "/rooms/:id", ChatRoomLive
|
||||
live "/rooms/:id/edit", ChatRoomLive.Edit
|
||||
live "/users/settings", UserSettingsLive, :edit
|
||||
|
Reference in New Issue
Block a user