diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-08 20:55:18 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-10 00:06:19 +0200 |
commit | 8cb4bd5107886da9198bbd4834551e4a53b54736 (patch) | |
tree | 1f05eb7591e8eb983c3128565b68e463e150a922 /views | |
parent | 02002281e6752b311b8c0d194af03b178d2f6f3d (diff) | |
download | server-8cb4bd5107886da9198bbd4834551e4a53b54736.tar.gz |
Put inbox and outbox under /message URL namespace.
Diffstat (limited to 'views')
-rw-r--r-- | views/header.pug | 4 | ||||
-rw-r--r-- | views/message_inbox.pug | 2 |
2 files changed, 3 insertions, 3 deletions
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 |