From 8cb4bd5107886da9198bbd4834551e4a53b54736 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 8 Oct 2024 20:55:18 +0200 Subject: Put inbox and outbox under /message URL namespace. --- views/header.pug | 4 ++-- views/message_inbox.pug | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/header.pug b/views/header.pug index d386969..9ff1263 100644 --- a/views/header.pug +++ b/views/header.pug @@ -16,9 +16,9 @@ header a(href="/games/active") Games a(href="/contacts") Friends if user.unread > 0 - a(href="/inbox") Inbox (#{user.unread}) + a(href="/message/inbox") Inbox (#{user.unread}) else - a(href="/inbox") Inbox + a(href="/message/inbox") Inbox a(href="/profile") Profile (#{user.name}) else a(href="/signup") Signup diff --git a/views/message_inbox.pug b/views/message_inbox.pug index c6001f5..4f02790 100644 --- a/views/message_inbox.pug +++ b/views/message_inbox.pug @@ -38,4 +38,4 @@ html td(colspan=3) No messages. p - a(href="/outbox") Outbox + a(href="/message/outbox") Outbox -- cgit v1.2.3