summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/forum_thread.pug2
-rw-r--r--views/head.pug2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/forum_thread.pug b/views/forum_thread.pug
index be3f0f4..797a629 100644
--- a/views/forum_thread.pug
+++ b/views/forum_thread.pug
@@ -16,4 +16,4 @@ html
if posts.length > 0
p: a(href="/forum/reply/"+posts[0].post_id) Reply
if user.user_id === 1
- p: a(href="/admin/delete-thread/"+thread.thread_id) DELETE THREAD
+ p: a(href="/forum/delete-thread/"+thread.thread_id) DELETE THREAD
diff --git a/views/head.pug b/views/head.pug
index d8a8ad6..3deb614 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -36,7 +36,7 @@ mixin forumpost(row,show_buttons)
if show_buttons && user
.edit
if user.user_id === 1
- | #[a(href="/admin/delete-post/"+row.post_id) DELETE]
+ | #[a(href="/forum/delete-post/"+row.post_id) DELETE]
|
if row.author_id === user.user_id
| #[a(href="/forum/edit/"+row.post_id) Edit]